blob: 704bfe9fab604eec4bcfa0b5ad69d99e00d916ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/sh
lb config noauto \
--distribution "torouter" \
--architectures armel \
--linux-flavours kirkwood \
--apt-secure true \
--binary-images hdd \
--cache true \
--cache-indices true \
--cache-packages true \
--parent-mirror-bootstrap http://http.debian.net/debian \
--mirror-bootstrap http://http.debian.net/debian \
--cache-stages rootfs \
--distribution wheezy \
--parent-distribution wheezy \
--binary-filesystem ext3 \
--chroot-filesystem none \
--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 boot=live config username=torouter hostname=torouter live-media=/dev/sdb1 live-media-timeout=10 debug plainroot" \
"${@}"
# 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, but are
# included here for clarity. check ../doc for most up-to-date recommended boot
# flags
|