dont put plan9.ini bootimage in cd root
This commit is contained in:
parent
994606821c
commit
d1fd22d72b
4 changed files with 7 additions and 11 deletions
0
cfg/plan9.ini
Normal file
0
cfg/plan9.ini
Normal file
15
sys/lib/dist/mkfile
vendored
15
sys/lib/dist/mkfile
vendored
|
@ -1,17 +1,12 @@
|
|||
scr=/tmp/cdstub
|
||||
iso=/tmp/9front.iso
|
||||
|
||||
cd:V: $iso
|
||||
|
||||
|
||||
clean:V:
|
||||
rm -fr $scr $iso
|
||||
rm -fr $iso
|
||||
|
||||
%.iso: /n/src9/386/9bootiso
|
||||
mkdir -p $scr
|
||||
cp $prereq $scr
|
||||
cp pc/plan9.ini.cd $scr/plan9.ini
|
||||
bind -a /n/src9 $scr
|
||||
disk/mk9660 -9cj -B 9bootiso -p pc/cdproto -s $scr -v 'Plan 9 Front' $target
|
||||
unmount $scr
|
||||
rm -fr $scr
|
||||
%.iso: pc/plan9.ini.cd
|
||||
bind $prereq /n/src9/cfg/plan9.ini
|
||||
disk/mk9660 -9cj -B 386/9bootiso -p pc/cdproto -s /n/src9 -v 'Plan 9 Front' $target
|
||||
unmount /n/src9/cfg/plan9.ini
|
||||
|
|
|
@ -155,7 +155,7 @@ start(void *sp)
|
|||
readn(&ex, origin, ex.len);
|
||||
close(&ex);
|
||||
|
||||
if(isowalk(f = &ex, drive, "plan9.ini")){
|
||||
if(isowalk(f = &ex, drive, "/cfg/plan9.ini")){
|
||||
print("no config\r\n");
|
||||
f = 0;
|
||||
}
|
||||
|
|
|
@ -237,6 +237,7 @@ TEXT readsect(SB), $0
|
|||
#ifdef ISO
|
||||
|
||||
TEXT bootname(SB), $0
|
||||
BYTE $'3'; BYTE $'8'; BYTE $'6'; BYTE $'/';
|
||||
BYTE $'9'; BYTE $'b'; BYTE $'o'; BYTE $'o';
|
||||
BYTE $'t'; BYTE $'i'; BYTE $'s'; BYTE $'o';
|
||||
BYTE $0
|
||||
|
|
Loading…
Reference in a new issue