nrelease - img file - use boot0cfg to set packet mode
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 26 Jun 2009 03:53:50 +0000 (20:53 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 26 Jun 2009 03:53:50 +0000 (20:53 -0700)
* Use packet mode by default in the usb key image file's boot blocks.

nrelease/Makefile

index 939e794..fff5e53 100644 (file)
@@ -420,6 +420,7 @@ mkimg:
        rm ${IMGFILE}.label;                                            \
        echo "write bootsector" >  /dev/null;                           \
        disklabel -B $${vn}s1;                                          \
+       boot0cfg -B -o noupdate $${vn};                                 \
        newfs /dev/$${vn}s1a;                                           \
        mount /dev/$${vn}s1a ${IMGMNT};                                 \
        cpdup -vvv ${ISOROOT} ${IMGMNT};                                \