ref: 845f8d12e4e417aaafaa6e62a80bf03856e7d906
parent: 65bd53b9b89b0a84d0f16db4adc3f53fa6ab3a3a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jul 10 12:50:07 EDT 2022
/sys/lib/dist/mkfile: create a default plan9.ini for reform image
--- a/sys/lib/dist/mkfile
+++ b/sys/lib/dist/mkfile
@@ -92,7 +92,8 @@
@{
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