inst: copy efi bootloader in bootsetup
This commit is contained in:
parent
2c1dc1aa4f
commit
0aea317dd2
1 changed files with 7 additions and 0 deletions
|
@ -88,9 +88,16 @@ case go
|
||||||
# make file continous on disk
|
# make file continous on disk
|
||||||
logprog chmod +al /n/9fat/9bootfat
|
logprog chmod +al /n/9fat/9bootfat
|
||||||
|
|
||||||
|
# copy config
|
||||||
logprog cp /tmp/plan9.ini /n/9fat/plan9.ini
|
logprog cp /tmp/plan9.ini /n/9fat/plan9.ini
|
||||||
|
|
||||||
|
# copy kernel
|
||||||
logprog cp /n/newfs/386/9pcf /n/9fat/9pcf
|
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
|
# copy in backups
|
||||||
if(test -f /tmp/oldplan9.ini)
|
if(test -f /tmp/oldplan9.ini)
|
||||||
logprog cp /tmp/oldplan9.ini /n/9fat
|
logprog cp /tmp/oldplan9.ini /n/9fat
|
||||||
|
|
Loading…
Reference in a new issue