progress
This commit is contained in:
parent
dbdcaddee6
commit
96c768f0d3
1
etc/base
1
etc/base
@ -30,6 +30,7 @@ EOF
|
||||
if [ "$EFI" == "1" ]; then
|
||||
uuid=$(blkid -o value -s UUID ${TARGET_PHY_ID}-part1)
|
||||
echo "UUID=${UUID} /boot/efi vfat defaults 0 0" >> /etc/fstab
|
||||
echo "efivarfs /sys/firmware/efi/efivars efivarfs defaults 0 0" >> /etc/fstab
|
||||
fi
|
||||
|
||||
uuid=$(blkid -o value -s UUID ${TARGET_PHY_ID}-part${TARGET_PART})
|
||||
|
@ -9,6 +9,7 @@ packages() {
|
||||
config() {
|
||||
if [ "${EFI}" == "1" ]; then
|
||||
grub-install
|
||||
efibootmgr --create --disk "${TARGET_PHY_ID}-${TARGET_PART}" --loader /EFI/void/grubx64.efi --label "Voidlinux" --verbose
|
||||
else
|
||||
grub-install "${TARGET_PHY_ID}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user