/sys/lib/dist/mkfile: create a default plan9.ini for reform image

This commit is contained in:
cinap_lenrek 2022-07-10 16:50:07 +00:00
parent 65bd53b9b8
commit 845f8d12e4

3
sys/lib/dist/mkfile vendored
View file

@ -92,7 +92,8 @@ cd:V: /tmp/9front.386.iso.gz
@{
objtype=arm64
kernel=/n/src9/$objtype/9reform.u
fatfiles=(/n/src9/sys/src/boot/reform/boot.scr $kernel)
echo 'bootargs=local!/dev/sdM0/fs' > /env/plan9.ini
fatfiles=(/n/src9/sys/src/boot/reform/boot.scr /env/plan9.ini $kernel)
mb=1885 # storage vendors idea of 2GB
mk $target.$pid.disk
mv $target.$pid.disk $target && dd -trunc 0 -bs 1024 -oseek 33 -if /n/src9/sys/src/boot/reform/flash.bin -of $target