diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2001-05-11 07:39:40 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2001-05-11 07:39:40 +0000 |
| commit | 630802eb2aa5a013a41079f804bf2cc96d80b821 (patch) | |
| tree | 96a396ace25c5f6a2fba892a1d69fa70418af4bf /release | |
| parent | 9b35c30cf7986f2da25cc94b2b511acf1160006c (diff) | |
Notes
Diffstat (limited to 'release')
| -rwxr-xr-x | release/picobsd/build/picobsd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd index 39e10c04aee7..b051526276f7 100755 --- a/release/picobsd/build/picobsd +++ b/release/picobsd/build/picobsd @@ -597,7 +597,7 @@ init_fs_image() { # filename size_in_kbytes dd if=/dev/zero of=${imgname} count=${imgsize} bs=1k 2> /dev/null dd if=${boot1} of=${imgname} conv=notrunc 2> /dev/null - vnconfig -c vn${VNUM} ${imgname} || fail $? no_vnconfig + vnconfig -c -s labels vn${VNUM} ${imgname} || fail $? no_vnconfig } @@ -615,7 +615,9 @@ fill_floppy_image() { init_fs_image ${BUILDDIR}/picobsd.bin ${blocks} log "---> Labeling floppy image" - disklabel -Brw -b ${boot1} -s ${boot2} vn${VNUM} fd${FLOPPY_SIZE} || \ + b2=${BUILDDIR}/boot2 # modified boot2 + perl -pne 's/\/boot\/loader/\/kernel\0\0\0\0\0/' ${boot2} > ${b2} + disklabel -Brw -b ${boot1} -s ${b2} vn${VNUM} fd${FLOPPY_SIZE} || \ fail $? floppy_disklabel newfs -i ${FLOPPY_INODES} -m 0 -p 0 -o space /dev/vn${VNUM}c > /dev/null |
