Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/efiboot/EFI/boot/startup_usb.nsh
diff options
context:
space:
mode:
authorKeshav P R <the.ridikulus.rat@gmail.com>2012-09-12 19:49:21 +0530
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-09-12 13:09:37 -0300
commit0d04c89e6bfee46477ef08030654a0b421ba86ae (patch)
tree438e82081f9051acbf8b9bab41449f1f8408108e /configs/releng/efiboot/EFI/boot/startup_usb.nsh
parent731148df597fc536cdabd8602589168f2f62ca76 (diff)
Copy UEFI Shell to (ISO)/EFI/boot/bootx64.efi for setting up UEFI bootable USB and add refind-efi-x86_64 to ISO
Diffstat (limited to 'configs/releng/efiboot/EFI/boot/startup_usb.nsh')
-rw-r--r--configs/releng/efiboot/EFI/boot/startup_usb.nsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/releng/efiboot/EFI/boot/startup_usb.nsh b/configs/releng/efiboot/EFI/boot/startup_usb.nsh
new file mode 100644
index 0000000..439e400
--- /dev/null
+++ b/configs/releng/efiboot/EFI/boot/startup_usb.nsh
@@ -0,0 +1,10 @@
+@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