Integrate USB stick image generation into nrelease.
authorMichael Neumann <mneumann@ntecs.de>
Fri, 9 Jan 2009 09:54:10 +0000 (10:54 +0100)
committerMichael Neumann <mneumann@ntecs.de>
Fri, 9 Jan 2009 09:54:10 +0000 (10:54 +0100)
commitb9c3e75403e5d983e1a3526d8618a914a6076d6b
tree0bda22a83bea7e7c10fe4b4d71bde0414dcbf41f
parent1e8165f349b2823777011ef864792741401e96ad
Integrate USB stick image generation into nrelease.

To build the image use:

    make img release

Notice that you might have to change some of these
variables below:

    IMGFILE ?= ${ISODIR}/dfly.img
    IMGMNT ?= /mnt   # where the image is mounted
    IMGSIZE ?= 450   # the size in MB of the image
    IMGVN ?= vn0     # the vn device used for the image
    IMGUSBDEV ?= /dev/da0 # USB device name, required for fstab

To write the image to USB disk, use:

    dd if=${ISODIR}/dfly.img of=${IMGUSBDEV} bs=1m
nrelease/Makefile