]> git.siccegge.de Git - forks/vmdebootstrap.git/blob - examples/wandboard6q.sh
Improve wandboard support
[forks/vmdebootstrap.git] / examples / wandboard6q.sh
1 #!/bin/sh
2
3 set -e
4
5 # Important: this example is to create a VM image for wandboard
6 # To boot the device itself, u-boot support will need to be added
7 # to a real block device.
8
9 user=`whoami`
10
11 sudo ./vmdebootstrap \
12 --owner ${user} --verbose \
13 --size 3G \
14 --mirror http://http.debian.net/debian \
15 --log wandboard.log --log-level debug \
16 --arch armhf \
17 --foreign /usr/bin/qemu-arm-static \
18 --enable-dhcp \
19 --configure-apt \
20 --no-extlinux \
21 --grub \
22 --no-kernel \
23 --package linux-image-armmp \
24 --distribution sid \
25 --serial-console-command "/sbin/getty -L ttymxc0 115200 vt100" \
26 --customize "./examples/wandboard-customise.sh" \
27 "$@"
28