We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de07029 + f7d4317 commit 719c8e6Copy full SHA for 719c8e6
files/initramfs-tools/union-mount.j2
@@ -94,11 +94,12 @@ if $secureboot; then
94
else
95
allowlist_file=${rootmnt}/host/$image_dir/allowlist_paths.conf
96
fi
97
+
98
remove_not_in_allowlist_files "$allowlist_file" "$rw_dir"
-fi
99
100
-## Remove the executable permission for all the files in rw folder except home folder
101
-find ${rw_dir} -type f -not -path ${rw_dir}/home -exec chmod a-x {} +
+ ## Remove the executable permission for all the files in rw folder except home folder
+ find ${rw_dir} -type f -not -path ${rw_dir}/home -exec chmod a-x {} +
102
+fi
103
104
mount -n -o lowerdir=${rootmnt},upperdir=${rw_dir},workdir=${work_dir} -t overlay root-overlay ${rootmnt}
105
0 commit comments