commit 12aa5c7120ea922c48a3eeb7ce8b4b61f162b42b parent 56c342de1e1aa4bb0f098dec8377eb1d202363d6 Author: awy <awy@awy.one> Date: Wed, 30 Oct 2024 03:30:06 +0300 fix Diffstat:
M | post_chroot.sh | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/post_chroot.sh b/post_chroot.sh @@ -60,7 +60,8 @@ customKernel(){ make headers_install mkdir -p /boot/EFI/BOOT cp arch/x86/boot/bzImage /boot/EFI/BOOT/BOOTX64.EFI - efibootmgr -c -d /dev/${diskdrive%p} -p $_numBoot -L "linux" -l '\EFI\BOOT\BOOTX64.EFI' + _diskdrivewop="${disk_drive%p}" + efibootmgr -c -d /dev/$_diskdrivewop -p $_numBoot -L "linux" -l '\EFI\BOOT\BOOTX64.EFI' } case $choosenKernel in