]> xenbits.xensource.com Git - people/dariof/osstest.git/commitdiff
mg-debian-installer-update: Include any device tree blobs in the tftp dir
authorIan Campbell <ian.campbell@citrix.com>
Wed, 29 Oct 2014 10:41:24 +0000 (10:41 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 29 Oct 2014 16:49:14 +0000 (16:49 +0000)
We will need to supply these for some arm boards.

We provide both an unpacked version, which can be referenced via u-boot's
support for the "fdtdir" property in pxelinux.cfg and a tarball which is more
convenient for installing into the target filesystem on host install

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
mg-debian-installer-update

index b964f95f8e9eee173cf56ca1dd830281114245b8..4e1da8a4b0c7fe7c71e0f54c3143ec9d5eee67bc 100755 (executable)
@@ -130,6 +130,10 @@ if [ $arch = armhf ]; then
           |pax -x sv4cpio -s '%lib%/lib%' -d -w >../cpio; cd ..
     gzip -9f cpio
     mv cpio.gz armmp.cpio.gz
+    rm -rf dtbs/
+    mkdir dtbs/
+    mv x/usr/lib/linux-image-*-armmp/*.dtb dtbs/
+    tar -caf dtbs.tar.gz dtbs
     rm -rf x
 fi