From 22ab518e9d1b1ab3bdf5927049e98d5ba0a7988a Mon Sep 17 00:00:00 2001 From: awy Date: Wed, 7 Aug 2024 21:53:58 +0300 Subject: small fixes --- post_chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post_chroot.sh') diff --git a/post_chroot.sh b/post_chroot.sh index db0d456..c61e81d 100755 --- a/post_chroot.sh +++ b/post_chroot.sh @@ -46,7 +46,7 @@ elif [ "$_kernelflag" -eq 2 ]; then mkdir -p /boot/EFI/BOOT cp arch/x86/boot/bzImage /boot/EFI/BOOT/BOOTX64.EFI _diskdrivewop="${diskdrive%p}" - efibootmgr -c -d /dev/$_diskdrivewop -p ${partition_array[0]} -L "linux" -l '\EFI\BOOT\BOOTX64.EFI' + efibootmgr -c -d /dev/$_diskdrivewop -p $_numBoot -L "linux" -l '\EFI\BOOT\BOOTX64.EFI' else printf ${LIGHTRED}"Wrong kernelflag value.${NoColor}\n" exit 1 -- cgit v1.2.3