Everyone can have UKI
This commit is contained in:
parent
0ebd62a32e
commit
3725f2d3b6
@ -86,8 +86,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Add UKI entry to UEFI machines to skip bootloader showing on normal boot
|
# Add UKI entry to UEFI machines to skip bootloader showing on normal boot
|
||||||
# Only doing this for ISO installs
|
if [ -n "$EFI" ] && efibootmgr &>/dev/null && ! efibootmgr | grep -q Omarchy; then
|
||||||
if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ] && efibootmgr &>/dev/null && ! efibootmgr | grep -q Omarchy; then
|
|
||||||
sudo efibootmgr --create \
|
sudo efibootmgr --create \
|
||||||
--disk "$(findmnt -n -o SOURCE /boot | sed 's/[0-9]*$//')" \
|
--disk "$(findmnt -n -o SOURCE /boot | sed 's/[0-9]*$//')" \
|
||||||
--part "$(findmnt -n -o SOURCE /boot | grep -o '[0-9]*$')" \
|
--part "$(findmnt -n -o SOURCE /boot | grep -o '[0-9]*$')" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user