1$FreeBSD$ 2 3Example for creating many different builds (including different 4arch) from a common set of files, as well as building natively 5using qemu user space emulation. 6 7This creates a simple appliance that uses dnsmasq to serve DNS 8and DHCPd. 9 10This is a work in progress. Generally, to build this you should 11 cd tools/tools/nanobsd/embedded 12 sudo sh ../nanobsd.sh -c foo.cfg 13 14Some features: 15 16Image size is minimal, we grow the last partition on first boot to 17fill the media. 18 19Images are both as easy as possible to construct, as well as easy as 20possible to expand. 21 22Config Short description 23beaglebone.cfg Create a bootable beaglebone image 24qemu-amd64.cfg Create a bootable amd64 image for qemu (W) 25qemu-i386.cfg Create a bootable i386 image for qemu (W) 26qemu-mips.cfg Create a bootable mips malta board image for 27 qemu 28qemu-mips64.cfg Create a bootable mips malta board (64-bit 29 mode) image for qemu 30qemu-powerpc.cfg Create a bootable 32-bit powerpc image for 31 qemu 32qemu-powerpc64.cfg Create a bootable 64-bit IBM-flavor image for 33 qemu 34rpi.cfg Create a bootable image for Raspberry Pi B 35rpi2.cfg Create a bootable image for Raspberry Pi2 36 37QEMU command lines for serial console access 38 39i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic 40amd64: qemu-system-amd64 -m 512 -hda _.disk.image.qemu-amd64.qcow2 -nographic 41