RobertCNelson/omap-image-builder — pull request #18 by nmadura (2012-12-20 05:03:21+00:00)
Title: added the ability to select which fdisk is run from the setup_sdcard.sh command

On my Debian Wheezy install a non-GNU fdisk is available and pre-installed at /sbin/fdisk.distrib. However the script doesn't allow for anyway of passing an alternate path for fdisk. So I added a --fdisk argument, changed all fdisk calls in the script to reference the FDISK_EXEC variable, and gave it a sane default value.