diff options
author | ficus <ficus@robocracy.org> | 2012-11-24 04:10:02 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-24 04:10:02 +0100 |
commit | e2cef48cffcb07222263bcf93e9268ad2fc9b432 (patch) | |
tree | 1231b2690ed3ea3b63e39e63f9ed0f2f7295a2a5 | |
parent | 6571b09fc4530b56d52ccaa66cba1cfb477400f2 (diff) | |
download | torouter-live-e2cef48cffcb07222263bcf93e9268ad2fc9b432.tar.gz torouter-live-e2cef48cffcb07222263bcf93e9268ad2fc9b432.zip |
move to squashfs, not-chroot builds
-rw-r--r-- | README | 33 | ||||
-rwxr-xr-x | auto/config | 3 |
2 files changed, 24 insertions, 12 deletions
@@ -21,15 +21,22 @@ Multiple layers of scary disclaimer! Oh my! !!! this work is unlicensed and contains licensed material! + ### Build Requirements -Only tested on a debian wheezy host with many development packages already -installed; YMMV. +By default a live image is built intented to be run on a DreamPlug device from +the external SD card. For now the default image is a squashfs Install live-build and qemu: sudo apt-get install qemu-user-static qemu-utils debootstrap live-build +The chroot build flag is set to 'false' to avoid build problems, which is +warned against extensively in the documentation. This introduces additional +build requirements: + + sudo apt-get install dctrl-tools mtools parted squashfs-tools + You need a recent version of live-build because of a secring.gpg-related error (see http://lists.debian.org/debian-live/2012/07/msg00122.html); download the sid package (from http://packages.debian.org/sid/live-build) and install: @@ -41,25 +48,29 @@ You might also want the Debian Live manuals: sudo apt-get install live-manual-html + ### Build an Image -Warning: aggressive caching is in place, which means resulting images may have -stale packages. Use `lb clean` to clear caches. +WARNING: read also ./doc/debian-live-problems.txt for additional hacks and work +arounds. + +WARNING: aggressive caching is in place, which means resulting images may have +stale packages. Use `lb clean --purge` to clear caches. Always run `lb config` +after a clean. Once the above build requirements are satisfied: lb clean --purge - lb clean --binary - lb clean lb config lb build - lb clean --binary - lb config - lb binary_chroot - lb binary_rootfs - lb binary_hdd + +### Install and Boot + +Read ./doc/dreamplug.txt and ./doc/sd-card.txt. + ### Develop Basic configuration options are in ./auto/config + diff --git a/auto/config b/auto/config index 67a8c53..68a3b95 100755 --- a/auto/config +++ b/auto/config @@ -1,6 +1,7 @@ #!/bin/sh lb config noauto \ + --build-with-chroot false \ --distribution "torouter" \ --architectures armel \ --linux-flavours kirkwood \ @@ -17,7 +18,7 @@ lb config noauto \ --distribution wheezy \ --parent-distribution wheezy \ --binary-filesystem ext3 \ - --chroot-filesystem none \ + --chroot-filesystem squashfs \ --security true \ --debian-installer-gui false \ --bootstrap-qemu-arch armel \ |