SCCS-vsn: sys/vax/dist/buildmini 4.4
SCCS-vsn: sys/vax/dist/get 4.12
SCCS-vsn: sys/vax/dist/maketape 4.9
-miniroot=hp1a
-minitype=eagle
+miniroot=hp0g
+minitype=rm80
#
date
umount /dev/${miniroot}
#
date
umount /dev/${miniroot}
#
# Shell script to build a mini-root file system
# in preparation for building a distribution tape.
#
# Shell script to build a mini-root file system
# in preparation for building a distribution tape.
cp $DISTROOT/etc/disktab etc
cp $DISTROOT/etc/newfs etc; strip etc/newfs
cp $DISTROOT/etc/mkfs etc; strip etc/mkfs
cp $DISTROOT/etc/disktab etc
cp $DISTROOT/etc/newfs etc; strip etc/newfs
cp $DISTROOT/etc/mkfs etc; strip etc/mkfs
-cp $DISTROOT/etc/restor etc; strip etc/restor
+cp $DISTROOT/etc/restore etc; strip etc/restore
cp $DISTROOT/etc/init etc; strip etc/init
cp $DISTROOT/etc/mount etc; strip etc/mount
cp $DISTROOT/etc/mknod etc; strip etc/mknod
cp $DISTROOT/etc/init etc; strip etc/init
cp $DISTROOT/etc/mount etc; strip etc/mount
cp $DISTROOT/etc/mknod etc; strip etc/mknod
cp $DISTROOT/bin/cp bin; strip bin/cp
cp $DISTROOT/bin/expr bin; strip bin/expr
cp $DISTROOT/bin/awk bin; strip bin/awk
cp $DISTROOT/bin/cp bin; strip bin/cp
cp $DISTROOT/bin/expr bin; strip bin/expr
cp $DISTROOT/bin/awk bin; strip bin/awk
+cp $DISTROOT/bin/make bin; strip bin/make
cp $DISTROOT/usr/mdec/* usr/mdec
cp $DISTROOT/usr/mdec/* usr/mdec
-cp $DISTROOT/a/sys/floppy/* sys/floppy
-cp $DISTROOT/a/sys/cassette/* sys/cassette
+cp $DISTROOT/a/sys/floppy/[Ma-z0-9]* sys/floppy
+cp $DISTROOT/a/sys/cassette/[Ma-z0-9]* sys/cassette
cp $DISTROOT/a/sys/stand/boot boot
cp $DISTROOT/.profile .profile
cat >etc/passwd <<EOF
cp $DISTROOT/a/sys/stand/boot boot
cp $DISTROOT/.profile .profile
cat >etc/passwd <<EOF
echo 'Rewind tape'
mt -t /dev/${tape}0 rew
echo 'Restore the dump image of the root'
echo 'Rewind tape'
mt -t /dev/${tape}0 rew
echo 'Restore the dump image of the root'
-restor xsf 3 /dev/${tape}0
+restore rsf 3 /dev/${tape}0
cd /
sync
umount /dev/${disk}0a
cd /
sync
umount /dev/${disk}0a
#
trap "rm -f /tmp/tape.$$; exit" 0 1 2 3 13 15
mt rew
#
trap "rm -f /tmp/tape.$$; exit" 0 1 2 3 13 15
mt rew
echo "Add tar image of system sources"
cd /nbsd/a/sys; tar cf /dev/rmt12 .
echo "Add tar image of /usr"
echo "Add tar image of system sources"
cd /nbsd/a/sys; tar cf /dev/rmt12 .
echo "Add tar image of /usr"
-cd /nbsd/usr; tar c adm bill bin dict doc games \
- hosts include ingres lib local man mdec msgs net new \
+cd /nbsd/usr; tar c adm bin dict doc games \
+ hosts include lib local man mdec msgs new \
preserve pub spool tmp ucb
mt rew
echo "Done, rewind"
preserve pub spool tmp ucb
mt rew
echo "Done, rewind"