diff options
author | Neil Williams <codehelp@debian.org> | 2014-08-25 19:42:52 -0700 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2014-08-25 19:42:52 -0700 |
commit | 453fbcec4ab1770daab88e0217b12dcfaa6a765b (patch) | |
tree | 27e1fc5a957cf9cc9e571ea7b3ad95d1efd944cb /examples/cubietruck.sh | |
parent | 323303dc20128416dd7fe40defe2a081632d0518 (diff) | |
download | vmdebootstrap-453fbcec4ab1770daab88e0217b12dcfaa6a765b.tar.gz |
Add examples to go into /usr/share to make it easier to create pre-defined images.
Diffstat (limited to 'examples/cubietruck.sh')
-rwxr-xr-x | examples/cubietruck.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/cubietruck.sh b/examples/cubietruck.sh new file mode 100755 index 0000000..2da46af --- /dev/null +++ b/examples/cubietruck.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +sudo vmdebootstrap \ + --owner $(whoami) --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" \ + --serial-console-command \ + --bootsize 50m --boottype vfat \ + "$@" |