aboutsummaryrefslogtreecommitdiff
path: root/post_chroot.sh
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-07 22:02:49 +0300
committerawy <awy@tutamail.com>2024-08-07 22:02:49 +0300
commiteb4c8bc8be393427672f172d492d20a48493120d (patch)
treea2fb17bf69e132905ab2b7eeac4aa5fe7bf2d477 /post_chroot.sh
parent22ab518e9d1b1ab3bdf5927049e98d5ba0a7988a (diff)
small fixes
Diffstat (limited to 'post_chroot.sh')
-rwxr-xr-xpost_chroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_chroot.sh b/post_chroot.sh
index c61e81d..e30239d 100755
--- a/post_chroot.sh
+++ b/post_chroot.sh
@@ -45,7 +45,7 @@ elif [ "$_kernelflag" -eq 2 ]; then
make headers_install
mkdir -p /boot/EFI/BOOT
cp arch/x86/boot/bzImage /boot/EFI/BOOT/BOOTX64.EFI
- _diskdrivewop="${diskdrive%p}"
+ _diskdrivewop="${disk_drive%p}"
efibootmgr -c -d /dev/$_diskdrivewop -p $_numBoot -L "linux" -l '\EFI\BOOT\BOOTX64.EFI'
else
printf ${LIGHTRED}"Wrong kernelflag value.${NoColor}\n"