From 229a465588a7ae3f5326fcde1fc6c675e9605eda Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 7 Feb 2022 20:00:29 +0100 Subject: [PATCH] progress --- etc/bootloader/grub | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/bootloader/grub b/etc/bootloader/grub index 62a5c6f..4f01d04 100644 --- a/etc/bootloader/grub +++ b/etc/bootloader/grub @@ -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}" } \ No newline at end of file