From 96e8ab391191c0548c75d79580c043120ece001c Mon Sep 17 00:00:00 2001 From: John Davidson Date: Tue, 8 Jan 2019 11:53:39 +0200 Subject: [PATCH] Added 'overlayfs' property with missing default value --- src/02_build_kernel.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/02_build_kernel.sh b/src/02_build_kernel.sh index a9bda637e..746502441 100755 --- a/src/02_build_kernel.sh +++ b/src/02_build_kernel.sh @@ -44,14 +44,17 @@ else echo "CONFIG_OVERLAY_FS_INDEX=y" >> .config # Follow redirects even if redirects are turned off (4.15+). - echo "# CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set" >> .config + echo "CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y" >> .config # Turn on NFS export feature by default (4.16+). - echo "# CONFIG_OVERLAY_FS_NFS_EXPORT is not set" >> .config + echo "CONFIG_OVERLAY_FS_NFS_EXPORT=y" >> .config # Auto enable inode number mapping (4.17+). echo "CONFIG_OVERLAY_FS_XINO_AUTO=y" >> .config + # Đ¢urn on metadata only copy up feature by default (4.19+). + echo "CONFIG_OVERLAY_FS_METACOPY=y" >> .config + # Step 1 - disable all active kernel compression options (should be only one). sed -i "s/.*\\(CONFIG_KERNEL_.*\\)=y/\\#\\ \\1 is not set/" .config