Afterchroot bios update, fix

This commit is contained in:
git
2024-06-28 11:43:11 +02:00
parent d95c04f68c
commit 5ded5b7dff

View File

@@ -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