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
This commit is contained in:
Thomas Quinot 2006-07-15 20:41:38 +00:00
parent bef800b384
commit cf58ce8477

View File

@ -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