Setup UEFI during setup
This commit is contained in:
parent
656ec4d75d
commit
6fa7bac182
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user