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