summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorthomas <thomas@FreeBSD.org>2006-07-15 20:41:38 +0000
committerthomas <thomas@FreeBSD.org>2006-07-15 20:41:38 +0000
commita2b2987edd4d5e36b0cff9d02a63527e38bb4e82 (patch)
treea30d95552d899f583047d921fabc6a920590de86 /tools
parentc7054283e2ee7d0ea6fe69588dff5d4bed0d4aac (diff)
downloadFreeBSD-src-a2b2987edd4d5e36b0cff9d02a63527e38bb4e82.zip
FreeBSD-src-a2b2987edd4d5e36b0cff9d02a63527e38bb4e82.tar.gz
When creating the NanoBSD disk image, install boot blocks from the
newly-built world, in preference to those from the host system. Reviewed by: phk
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/nanobsd/nanobsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
index a406c50..88d6723 100644
--- a/tools/tools/nanobsd/nanobsd.sh
+++ b/tools/tools/nanobsd/nanobsd.sh
@@ -360,7 +360,7 @@ create_i386_diskimage ( ) (
# XXX: params
# XXX: pick up cached boot* files, they may not be in image anymore.
boot0cfg -B -b ${NANO_WORLDDIR}/boot/boot0sio -o packet -s 1 -m 3 ${MD}
- bsdlabel -w -B ${MD}s1
+ bsdlabel -w -B -b ${NANO_WORLDDIR}/boot/boot ${MD}s1
bsdlabel ${MD}s1
# Create first image
OpenPOWER on IntegriCloud