File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1276,7 +1276,10 @@ cat <<- END > /boot/efi/EFI/zfsbootmenu/refind_linux.conf
12761276END
12771277
12781278# Copy UEFI shell to EFI system
1279- [ -e /usr/share/efi-shell-x64/shellx64.efi ] && cp /usr/share/efi-shell-x64/shellx64.efi /boot/efi/EFI
1279+ if [ -e /usr/share/efi-shell-x64/shellx64.efi ] ; then
1280+ mkdir -p /boot/efi/EFI/tools
1281+ cp /usr/share/efi-shell-x64/shellx64.efi /boot/efi/EFI/tools
1282+ fi
12801283
12811284# If we're running under legacy bios then rEFInd will be installed
12821285# to /boot/efi/EFI/BOOT - we want it in /boot/efi/EFI/refind
13861389# and run via generate-zbm.sh
13871390if [ "${ZFSBOOTMENU_BINARY_TYPE}" != "LOCAL" ] ; then
13881391 curl -L https://raw.githubusercontent.com/zbm-dev/zfsbootmenu/master/contrib/syslinux-update.sh -o /boot/efi/syslinux-update.sh
1389- chmod +x /boot/efi/syslinux-update.sh
1392+ chmod +x /boot/efi/syslinux-update.sh
13901393 sed -i '
13911394 s/^SYSLINUX_ROOT.*/SYSLINUX_ROOT="\/boot\/efi"/
13921395 s/^KERNEL_PATH.*/KERNEL_PATH="EFI\/zfsbootmenu"/
You can’t perform that action at this time.
0 commit comments