shithub: riscv

Download patch

ref: 0aea317dd20eddec4791b2294e36382933c61bc1
parent: 2c1dc1aa4f374f5c8d6a13e7e82a26c4e27e6775
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Nov 5 16:38:28 EST 2014

inst: copy efi bootloader in bootsetup

--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -88,8 +88,15 @@
 	# make file continous on disk
 	logprog chmod +al /n/9fat/9bootfat
 
+	# copy config
 	logprog cp /tmp/plan9.ini /n/9fat/plan9.ini
+
+	# copy kernel
 	logprog cp /n/newfs/386/9pcf /n/9fat/9pcf
+
+	# copy efi bootloader
+	logprog mkdir -p /n/9fat/efi/boot
+	logprog cp /386/^(bootia32.efi bootx64.efi) /n/9fat/efi/boot
 
 	# copy in backups
 	if(test -f /tmp/oldplan9.ini)