This commit is contained in:
teldra 2022-02-07 20:00:29 +01:00
parent 3b9af44f97
commit 229a465588

View File

@ -9,9 +9,12 @@ packages() {
config() {
if [ "${EFI}" == "1" ]; then
grub-install
efibootmgr --create --disk "${TARGET_PHY_ID}-part1" --loader /EFI/void/grubx64.efi --label "Voidlinux" --verbose
#efibootmgr --create --disk "${TARGET_PHY_ID}-part1" --loader /EFI/void/grubx64.efi --label "Voidlinux" --verbose
else
grub-install "${TARGET_PHY_ID}"
fi
xbps-reconfigure -fa
lv=$(xbps-query linux|grep pkgver|awk '{print $2}')
lv1="${lv//-/}"
lv2="${lv1%_*}"
xbps-reconfigure -f "${lv2}"
}