Afterchroot bios update, fix
This commit is contained in:
@@ -24,7 +24,6 @@ dd if=/dev/random of=/crypto_keyfile.bin bs=512 count=8 iflag=fullblock && \
|
||||
chmod 000 /crypto_keyfile.bin && \
|
||||
sed -i "s/FILES=(/FILES=(\/crypto_keyfile.bin/g" /etc/mkinitcpio.conf && \
|
||||
pacman -S lvm2 lvm2-openrc cryptsetup cryptsetup-openrc && \
|
||||
cryptsetup luksAddKey $DISK\2 /crypto_keyfile.bin
|
||||
if [ $BIOSorEFI == "EFI" ]; then
|
||||
cryptsetup luksAddKey $DISK\2 /crypto_keyfile.bin
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user