From 845f8d12e4e417aaafaa6e62a80bf03856e7d906 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 10 Jul 2022 16:50:07 +0000 Subject: [PATCH] /sys/lib/dist/mkfile: create a default plan9.ini for reform image --- sys/lib/dist/mkfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/lib/dist/mkfile b/sys/lib/dist/mkfile index ac9118ab3..703602846 100644 --- a/sys/lib/dist/mkfile +++ b/sys/lib/dist/mkfile @@ -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