]> git.siccegge.de Git - forks/vmdebootstrap.git/blob - examples/cubietruck.sh
91db01a43803535a6fb058a035430f48c17a816b
[forks/vmdebootstrap.git] / examples / cubietruck.sh
1 #!/bin/sh
2
3 set -e
4
5 user=`whoami`
6
7 sudo vmdebootstrap \
8 --owner ${user} --verbose \
9 --size 3G \
10 --mirror http://http.debian.net/debian \
11 --log cubietruck.log --log-level debug \
12 --arch armhf \
13 --foreign /usr/bin/qemu-arm-static \
14 --enable-dhcp \
15 --configure-apt \
16 --no-extlinux \
17 --no-kernel \
18 --package u-boot \
19 --package linux-image-armmp \
20 --distribution sid \
21 --serial-console-command "/sbin/getty -L ttyS0 115200 vt100" \
22 --customize "cubietruck-customise.sh" \
23 --bootoffset=2mib \
24 --bootsize 100mib --boottype vfat \
25 "$@"