Build (and cross-compile) your own Raspian image for FabScanPi
Set of bash scripts for your Debian or Ubuntu Linux to create your own .img file for Raspberry Pi. Have your own image with YOUR content in minutes!
Initial script was taken from the [Klaus Maria Pfeiffer blog] (http://blog.kmp.or.at/2012/05/build-your-own-raspberry-pi-image/).
Original script was created to burn Debian Wheezy, my target is Raspbian, which is better for Raspberry Pi. You can read more about Raspbian (and its difference from stock Debian) at project page: http://raspbian.org
It is possible to prepare environment on almost every Linux, where chroot, QEMU and debootstrap exists. I strictly recommend to install apt-cacher-ng (apt-get install apt-cacher-ng), that caches all downloaded deb packages and lets you to use deb_local_mirror, what's extreamely useful for further experiments, system won't download packages from internet anymore! [Read more about apt-cacher-ng] (https://www.unix-ag.uni-kl.de/~bloch/acng/html/config-servquick.html#config-client)
Install minimal set of packages: ./install.sh
Run build_raspbian_sd_card.sh script, do burn your SD card
./build_raspbian_sd_card.sh <build_id> /dev/sdX
you can choose a custom build_id, e.g. "2016-02-30" ( date of build )
OR to create IMG file (you'll find it under /tmp/rpi folder)
./build_raspbian_sd_card.sh