Minor tweak to bootloader config
This commit is contained in:
parent
4fbbef3ee4
commit
b8ed7e146d
@ -15,7 +15,7 @@
|
|||||||
# immutable variables {
|
# immutable variables {
|
||||||
|
|
||||||
readonly DIST="Archlabs" # Linux distributor
|
readonly DIST="Archlabs" # Linux distributor
|
||||||
readonly VER="1.6.27" # Installer version
|
readonly VER="1.6.28" # Installer version
|
||||||
readonly LIVE="liveuser" # Live session user
|
readonly LIVE="liveuser" # Live session user
|
||||||
readonly TRN="/usr/share/archlabs-installer" # Translation path
|
readonly TRN="/usr/share/archlabs-installer" # Translation path
|
||||||
readonly MNT="/mnt/install" # Install mountpoint
|
readonly MNT="/mnt/install" # Install mountpoint
|
||||||
@ -2097,7 +2097,12 @@ grub_uefi_fallback() {
|
|||||||
|
|
||||||
mkdir -p $esp/EFI/$fb
|
mkdir -p $esp/EFI/$fb
|
||||||
cp -f $esp/EFI/$DIST/grubx64.efi $esp/EFI/$fb/grubx64.efi
|
cp -f $esp/EFI/$DIST/grubx64.efi $esp/EFI/$fb/grubx64.efi
|
||||||
|
|
||||||
|
if [[ ! -e $esp/EFI/$fb/bootx64.efi ]]; then
|
||||||
cp -f $esp/EFI/$DIST/grubx64.efi $esp/EFI/$fb/bootx64.efi
|
cp -f $esp/EFI/$DIST/grubx64.efi $esp/EFI/$fb/bootx64.efi
|
||||||
|
fi
|
||||||
|
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_bootloader() {
|
setup_bootloader() {
|
||||||
|
Reference in New Issue
Block a user