Update the old (4.4bsd/pmax) miniroot build scripts to put mount_ffs
on a miniroot, until the new miniroot tools work on a pmax.
This commit is contained in:
parent
c82a4ed224
commit
339aa91097
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh -
|
||||
# $NetBSD: buildmini,v 1.5 1994/11/23 18:13:58 dean Exp $
|
||||
# $NetBSD: buildmini,v 1.6 1995/12/22 08:08:19 jonathan Exp $
|
||||
#
|
||||
# Copyright (c) 1992, 1993
|
||||
# The Regents of the University of California. All rights reserved.
|
||||
|
@ -42,7 +42,7 @@ minimnt=/tmp/mini
|
|||
date
|
||||
mkdir ${minimnt}
|
||||
umount /dev/${miniroot}
|
||||
newfs -s 10240 ${miniroot}
|
||||
newfs -s 10240 -b 4096 -f 512 -i 40960 ${miniroot}
|
||||
fsck /dev/r${miniroot}
|
||||
mount /dev/${miniroot} ${minimnt}
|
||||
cd ${minimnt}; sh ${dist}/get
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh -
|
||||
# $NetBSD: get,v 1.5 1994/11/23 18:13:59 dean Exp $
|
||||
# $NetBSD: get,v 1.6 1995/12/22 08:08:14 jonathan Exp $
|
||||
#
|
||||
# Copyright (c) 1992, 1993
|
||||
# The Regents of the University of California. All rights reserved.
|
||||
|
@ -61,7 +61,7 @@ for i in $ETC; do
|
|||
cp $DISTROOT/etc/$i etc/$i
|
||||
done
|
||||
|
||||
SBIN="disklabel fsck ifconfig init mknod mount newfs restore umount"
|
||||
SBIN="disklabel fsck ifconfig init mknod mount mount_ffs mount_nfs newfs restore route umount"
|
||||
USBIN="pwd_mkdb"
|
||||
for i in $SBIN; do
|
||||
cp $DISTROOT/sbin/$i sbin/$i
|
||||
|
@ -70,8 +70,10 @@ for i in $USBIN; do
|
|||
cp $DISTROOT/usr/sbin/$i sbin/$i
|
||||
done
|
||||
ln sbin/restore sbin/rrestore
|
||||
ln sbin/mount_ffs sbin/mount_ufs
|
||||
|
||||
BIN="[ cat cp dd echo ed expr ls mkdir mv pax rcp rm sh stty sync mt"
|
||||
#UBIN=""
|
||||
UBIN="awk"
|
||||
for i in $BIN; do
|
||||
cp $DISTROOT/bin/$i bin/$i
|
||||
|
|
Loading…
Reference in New Issue