#!/bin/sh lb config noauto \ --build-with-chroot false \ --distribution "torouter" \ --architectures armel \ --linux-flavours kirkwood \ --apt-secure true \ --apt-recommends false \ --binary-images hdd \ --cache true \ --cache-indices true \ --cache-packages true \ --mirror-binary http://cdn.debian.net/debian \ --parent-mirror-binary http://cdn.debian.net/debian \ --mirror-bootstrap http://cdn.debian.net/debian \ --parent-mirror-bootstrap http://cdn.debian.net/debian \ --distribution wheezy \ --parent-distribution wheezy \ --binary-filesystem ext3 \ --chroot-filesystem squashfs \ --security true \ --debian-installer-gui false \ --bootstrap-qemu-arch armel \ --bootstrap-qemu-static /usr/bin/qemu-arm-static \ --keyring-packages "debian-archive-keyring deb.torproject.org-keyring" \ --bootappend-live "console=ttyS0,115200" \ "${@}" # Note: chroot filesystem should be 'squashfs' for production images (?), or # 'none' for development (easier to modify and debug rootfs) # Note: bootappend-live options are ignored when booting from u-boot. Check # ../doc for most up-to-date recommended boot flags