diff mbox

[Xen-devel,RFC,OSSTEST,03/19] mg-debian-installer-update: Include any device tree blobs in the tftp dir

Message ID 1412942554-752-3-git-send-email-ian.campbell@citrix.com
State New
Headers show

Commit Message

Ian Campbell Oct. 10, 2014, 12:02 p.m. UTC
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>
---
 mg-debian-installer-update | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Ian Jackson Oct. 10, 2014, 1:57 p.m. UTC | #1
Ian Campbell writes ("[PATCH RFC OSSTEST 03/19] mg-debian-installer-update: Include any device tree blobs in the tftp dir"):
> 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

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
diff mbox

Patch

diff --git a/mg-debian-installer-update b/mg-debian-installer-update
index b964f95..4e1da8a 100755
--- a/mg-debian-installer-update
+++ b/mg-debian-installer-update
@@ -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