From 0e8774c0b34fa2b8392f20a1a44a63e742bf029f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 30 May 2022 15:14:49 +0200 Subject: added note and variable for root device in build.sh script --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 1a2f3f7..bc3be5d 100755 --- a/build.sh +++ b/build.sh @@ -2,6 +2,9 @@ DEVICE=vnd0 MOUNTPOINT=/mnt/fw +# depends on the hardware sdX for SCSI and wd0 for flashes/IDE/PATA +# (also adapt in template/etc/fstab for instance) +ROOT=sd0 if test X$1 = X"-h"; then print "Usage: build.sh [ [ ] ]" @@ -117,7 +120,7 @@ chmod +t $MOUNTPOINT/tmp echo "Populating /dev filesystem with minimal set up startup devices." cp -R /dev/MAKEDEV $MOUNTPOINT/dev/. -( cd $MOUNTPOINT/dev && ./MAKEDEV std wd0 random pf bpf ttyC0 tty00 ) +( cd $MOUNTPOINT/dev && ./MAKEDEV std $ROOT random pf bpf ttyC0 tty00 ) echo "Installing userland." -- cgit v1.2.3-54-g00ecf