summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-04-23 09:01:35 +0000
committerru <ru@FreeBSD.org>2003-04-23 09:01:35 +0000
commit560225c4701568b026e83f60ab0c09ddf7f1edcc (patch)
tree0f2895d8362521000b9aca2a72af4108166aa923 /release/scripts
parent14fc0ea5a46713c368bf8a252e48a32aed97aacb (diff)
downloadFreeBSD-src-560225c4701568b026e83f60ab0c09ddf7f1edcc.zip
FreeBSD-src-560225c4701568b026e83f60ab0c09ddf7f1edcc.tar.gz
Presumably fix sparc64 "make release". (The breakage was due to
sunlabel(8) no longer being linked to disklabel(8).) Reviewed by: phk
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/doFS.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/doFS.sh b/release/scripts/doFS.sh
index 8aa51ec..d4fbfc1 100644
--- a/release/scripts/doFS.sh
+++ b/release/scripts/doFS.sh
@@ -7,6 +7,7 @@ set -ex
export BLOCKSIZE=512
+DISKLABEL=$1; shift
MACHINE=${1:+"-m $1"}; shift
FSIMG=$1; shift
RD=$1 ; shift
@@ -103,7 +104,7 @@ dofs_md () {
trap "umount ${MNT}; mdconfig -d -u ${MDDEVICE}" EXIT
- disklabel ${MACHINE} -w ${BOOT} ${MDDEVICE} ${FSLABEL}
+ ${DISKLABEL} ${MACHINE} -w ${BOOT} ${MDDEVICE} ${FSLABEL}
newfs -i ${FSINODE} -o space -m 0 /dev/${MDDEVICE}c
mount /dev/${MDDEVICE}c ${MNT}
OpenPOWER on IntegriCloud