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-customise.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-customise.sh')
-rwxr-xr-x | examples/cubietruck-customise.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/cubietruck-customise.sh b/examples/cubietruck-customise.sh new file mode 100755 index 0000000..74a0d5b --- /dev/null +++ b/examples/cubietruck-customise.sh @@ -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 |