Commit 0d04c89e authored by Keshav P R's avatar Keshav P R Committed by Gerardo Exequiel Pozzi
Browse files

Copy UEFI Shell to (ISO)/EFI/boot/bootx64.efi for setting up UEFI bootable USB...

Copy UEFI Shell to (ISO)/EFI/boot/bootx64.efi for setting up UEFI bootable USB and add refind-efi-x86_64 to ISO
parent 731148df
...@@ -94,7 +94,13 @@ make_boot_efi() { ...@@ -94,7 +94,13 @@ make_boot_efi() {
# Add an EFI shell script for automatic boot if ESC-key is not pressed within 5 seconds timeout. # Add an EFI shell script for automatic boot if ESC-key is not pressed within 5 seconds timeout.
sed "s|%ARCHISO_LABEL%|${iso_label}|g; sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g" ${script_path}/efiboot/EFI/boot/startup.nsh > ${work_dir}/efiboot/EFI/boot/startup.nsh s|%INSTALL_DIR%|${install_dir}|g" ${script_path}/efiboot/EFI/boot/startup_iso.nsh > ${work_dir}/efiboot/EFI/boot/startup.nsh
mkdir -p ${work_dir}/iso/EFI/boot
cp ${work_dir}/efiboot/EFI/boot/bootx64.efi ${work_dir}/iso/EFI/boot/bootx64.efi
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g" ${script_path}/efiboot/EFI/boot/startup_usb.nsh > ${work_dir}/iso/EFI/boot/startup.nsh
umount ${work_dir}/efiboot umount ${work_dir}/efiboot
fi fi
......
@echo -off @echo -off
for %m run (0 9) for %m run (0 20)
if exist fs%m:\EFI\archiso\vmlinuz.efi then if exist fs%m:\EFI\archiso\vmlinuz.efi then
fs%m: fs%m:
cd fs%m:\EFI\archiso cd fs%m:\EFI\archiso
......
@echo -off
for %m run (0 20)
if exist fs%m:\%INSTALL_DIR%\boot\x86_64\vmlinuz then
fs%m:
cd fs%m:\%INSTALL_DIR%\boot\x86_64
echo "Launching Archiso Kernel fs%m:\%INSTALL_DIR%\boot\x86_64\vmlinuz"
vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd=\%INSTALL_DIR%\boot\x86_64\archiso.img
endif
endfor
...@@ -38,6 +38,7 @@ openssh ...@@ -38,6 +38,7 @@ openssh
openvpn openvpn
parted parted
pptpclient pptpclient
refind-efi-x86_64
rp-pppoe rp-pppoe
rsync rsync
smartmontools smartmontools
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment