summaryrefslogtreecommitdiffstats
path: root/release/sparc64
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-08-11 22:27:43 +0000
committerru <ru@FreeBSD.org>2003-08-11 22:27:43 +0000
commitbb7fb886af0cb2df001f440ba11d6c0f3991f835 (patch)
tree6f4b498bfa51034deb2c411e015a48459882515c /release/sparc64
parent23ea8b5c7a50f2ed763686c143343bb24066d46d (diff)
downloadFreeBSD-src-bb7fb886af0cb2df001f440ba11d6c0f3991f835.zip
FreeBSD-src-bb7fb886af0cb2df001f440ba11d6c0f3991f835.tar.gz
- Use the correct boot/boot1 and boot/loader files.
- Use the newfs command similar to that in doFS.sh. Reviewed by: jake, jhb
Diffstat (limited to 'release/sparc64')
-rw-r--r--release/sparc64/mkisoimages.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/release/sparc64/mkisoimages.sh b/release/sparc64/mkisoimages.sh
index 323531e..7ab204d 100644
--- a/release/sparc64/mkisoimages.sh
+++ b/release/sparc64/mkisoimages.sh
@@ -24,17 +24,16 @@
# into base-bits-dir as part of making the image.
IMG=/tmp/bootfs
-LOADER=/boot/loader
MNT=/mnt
if [ "x$1" = "x-b" ]; then
dd if=/dev/zero of=${IMG} bs=512 count=1024
MD=`mdconfig -a -t vnode -f ${IMG}`
- sunlabel -Brw ${MD} auto
- newfs /dev/${MD}c
+ sunlabel -w -B -b $4/boot/boot1 ${MD} auto
+ newfs -O1 -o space -m 0 /dev/${MD}c
mount /dev/${MD}c ${MNT}
mkdir ${MNT}/boot
- cp ${LOADER} ${MNT}/boot
+ cp $4/boot/loader ${MNT}/boot
umount ${MNT}
mdconfig -d -u ${MD#md}
bootable="-B ,,,,${IMG}"
OpenPOWER on IntegriCloud