summaryrefslogtreecommitdiffstats
path: root/release/ia64
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-03-20 23:46:22 +0000
committerru <ru@FreeBSD.org>2003-03-20 23:46:22 +0000
commit18bbff56056cc6fd3c51a8a21a50f257c2ef1fcd (patch)
tree616fa25a38df3d7a5594d6717c82c0beb996c3b4 /release/ia64
parenta3529ba22b1d7664e49d97daa5966b528b494381 (diff)
downloadFreeBSD-src-18bbff56056cc6fd3c51a8a21a50f257c2ef1fcd.zip
FreeBSD-src-18bbff56056cc6fd3c51a8a21a50f257c2ef1fcd.tar.gz
Pass the target machine architecture down to disklabel(8).
Do it so that systems without the -m option in disklabel(8), e.g. 5.0-RELEASE, can still build current snapshots. While here, drop the -s option from doFS.sh; we have not been using the .size files for a long time.
Diffstat (limited to 'release/ia64')
-rw-r--r--release/ia64/doFS.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/release/ia64/doFS.sh b/release/ia64/doFS.sh
index 84b7e68..f75b724 100644
--- a/release/ia64/doFS.sh
+++ b/release/ia64/doFS.sh
@@ -7,12 +7,6 @@
set -e
-if [ "$1" = "-s" ]; then
- opt_s="-s"; shift
-else
- opt_s=""
-fi
-
FSIMG=$1; shift
RD=$1 ; shift
MNT=$1 ; shift
@@ -26,7 +20,7 @@ FSLABEL=$1 ; shift
if [ x$FSLABEL != "xefi" ]; then
DOFS_SH=`dirname $0`/../scripts/`basename $0`
echo Tranferring control to $DOFS_SH...
- exec sh $DOFS_SH $opt_s $FSIMG $RD $MNT $FSSIZE $FSPROTO $FSINODE $FSLABEL
+ exec sh $DOFS_SH ia64 $FSIMG $RD $MNT $FSSIZE $FSPROTO $FSINODE $FSLABEL
fi
export BLOCKSIZE=512
@@ -80,6 +74,3 @@ mdconfig -d -u ${MDDEVICE} 2>/dev/null || true
echo "*** Filesystem is ${FSSIZE} K, $4 left"
echo "*** ${FSINODE} bytes/inode, $7 left"
-if [ "${opt_s}" ]; then
- echo ${FSSIZE} > ${FSIMG}.size
-fi
OpenPOWER on IntegriCloud