Setup UEFI during setup

This commit is contained in:
Taylor Helsper 2022-05-19 21:52:32 -05:00
parent 656ec4d75d
commit 6fa7bac182

View File

@ -1020,6 +1020,12 @@ if [ $IS_ROCK64 = 1 ] || [ $IS_ROCKPRO64 = 1 ] ; then
nmcli connection modify $UUID -ethernet.mac-address "" nmcli connection modify $UUID -ethernet.mac-address ""
fi fi
# Add generic boot option if UEFI
if [ -f /boot/efi/EFI/debian/grubx64.efi ]; then
mkdir -p /boot/efi/EFI/BOOT
cp -f /boot/efi/EFI/debian/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
fi
sync sync
set +x set +x