summaryrefslogtreecommitdiff
path: root/examples/cubietruck.sh
blob: 91db01a43803535a6fb058a035430f48c17a816b (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
#!/bin/sh

set -e

user=`whoami`

sudo vmdebootstrap \
 --owner ${user} --verbose \
 --size 3G \
 --mirror http://http.debian.net/debian \
 --log cubietruck.log --log-level debug \
 --arch armhf \
 --foreign /usr/bin/qemu-arm-static \
 --enable-dhcp \
 --configure-apt \
 --no-extlinux \
 --no-kernel \
 --package u-boot \
 --package linux-image-armmp \
 --distribution sid \
 --serial-console-command "/sbin/getty -L ttyS0 115200 vt100" \
 --customize "cubietruck-customise.sh" \
 --bootoffset=2mib \
 --bootsize 100mib --boottype vfat \
 "$@"