Commit 3b9857eb authored by fsmithred's avatar fsmithred

Clobber initramfs-permissions for encrypted /boot.

parent 6e04b109
......@@ -1635,7 +1635,7 @@ if [[ $encrypt_boot = yes ]] ; then
echo -e "\nGRUB_ENABLE_CRYPTODISK=y\n" >> /target/etc/default/grub
fi
if ! [[ $(grep 'UMASK=0077' /etc/initramfs-tools/conf.d/initramfs-permissions) ]] ; then
echo -e '\nUMASK=0077\n' >> /etc/initramfs-tools/conf.d/initramfs-permissions
echo -e '\nUMASK=0077\n' > /etc/initramfs-tools/conf.d/initramfs-permissions
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment