X-Git-Url: https://git.siccegge.de//index.cgi?p=forks%2Fvmdebootstrap.git;a=blobdiff_plain;f=examples%2Fwandboard6q.sh;h=38c05a7b12c0c36f5a03ce6c14c3d0b7579260eb;hp=0113bef438dc38e2bee772c7a2307ab3de27a43f;hb=acfffcd24d9a51f16a3e35e9a0554c8ef780a2c6;hpb=1f3bab3a66538d5cf3ca13ed76bcf015955302b3 diff --git a/examples/wandboard6q.sh b/examples/wandboard6q.sh old mode 100644 new mode 100755 index 0113bef..38c05a7 --- 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" \ "$@" +