summaryrefslogtreecommitdiff
path: root/examples/cubietruck.sh
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2014-12-23 16:15:20 +0000
committerNeil Williams <codehelp@debian.org>2014-12-23 16:31:10 +0000
commit41ebf61957c1c3d168b5e048e465c6a7b0b57a1c (patch)
tree0bdfa05c370f8d611e6cf505551d98908c5ccfa8 /examples/cubietruck.sh
parentb1545572859794a22a085f755988693b8d2d3377 (diff)
downloadvmdebootstrap-41ebf61957c1c3d168b5e048e465c6a7b0b57a1c.tar.gz
Allow space for a bootloader installed with dd
Implement bootoffset to explcitly allow space for a bootloader to be installed in front of the first partition. Add support for cubietruck in the example to dd the Debian uboot image by adding a parameter to the customise script call. Increase size of boot partition to make upgrades easier. Allow the partition type to be specified. Use mib units as these are converted to 1024 instead of 1000.
Diffstat (limited to 'examples/cubietruck.sh')
-rwxr-xr-xexamples/cubietruck.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cubietruck.sh b/examples/cubietruck.sh
index 2da46af..a904e07 100755
--- a/examples/cubietruck.sh
+++ b/examples/cubietruck.sh
@@ -18,6 +18,6 @@ sudo vmdebootstrap \
--distribution sid \
--serial-console-command "/sbin/getty -L ttyS0 115200 vt100" \
--customize "cubietruck-customise.sh" \
- --serial-console-command \
- --bootsize 50m --boottype vfat \
+ --bootoffset=2mib \
+ --bootsize 100mib --boottype vfat \
"$@"