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