]> git.siccegge.de Git - forks/vmdebootstrap.git/blobdiff - examples/cubietruck-customise.sh
Add examples to go into /usr/share to make it easier to create pre-defined images.
[forks/vmdebootstrap.git] / examples / cubietruck-customise.sh
diff --git a/examples/cubietruck-customise.sh b/examples/cubietruck-customise.sh
new file mode 100755 (executable)
index 0000000..74a0d5b
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+rootdir=$1
+
+# u-boot needs to be dd'd to the partition
+#cp /usr/lib/u-boot/Cubietruck/uboot.elf /boot/
+#cp /usr/lib/u-boot/Cubietruck/u-boot-sunxi-with-spl.bin /boot/
+
+mkdir -p $rootdir/boot/dtbs
+cp $rootdir/usr/lib/linux-image-*-armmp/* $rootdir/boot/dtbs