summaryrefslogtreecommitdiff
path: root/examples/wandboard6q.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wandboard6q.sh')
-rwxr-xr-x[-rw-r--r--]examples/wandboard6q.sh17
1 files changed, 11 insertions, 6 deletions
diff --git a/examples/wandboard6q.sh b/examples/wandboard6q.sh
index 0113bef..38c05a7 100644..100755
--- a/examples/wandboard6q.sh
+++ b/examples/wandboard6q.sh
@@ -2,8 +2,14 @@
set -e
-sudo vmdebootstrap \
- --owner $(whoami) --verbose \
+# Important: this example is to create a VM image for wandboard
+# To boot the device itself, u-boot support will need to be added
+# to a real block device.
+
+user=`whoami`
+
+sudo ./vmdebootstrap \
+ --owner ${user} --verbose \
--size 3G \
--mirror http://http.debian.net/debian \
--log wandboard.log --log-level debug \
@@ -12,12 +18,11 @@ sudo vmdebootstrap \
--enable-dhcp \
--configure-apt \
--no-extlinux \
+ --grub \
--no-kernel \
- --package u-boot \
--package linux-image-armmp \
--distribution sid \
--serial-console-command "/sbin/getty -L ttymxc0 115200 vt100" \
- --customize "wandboard-customise.sh" \
- --bootoffset=2mib \
- --bootsize 100mib --boottype vfat \
+ --customize "./examples/wandboard-customise.sh" \
"$@"
+