From 18f190a852fb85454ec7158d8e6331de863b6e94 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Tue, 16 Jun 2015 17:10:00 +0100 Subject: [PATCH] mg-debian-installer-update: Also collect DTBs for standard kernels For armhf and arm64 for Jessie we will need these in the normal case as well as in the backports case. Arrange to download. Signed-off-by: Ian Campbell [wei: fix rebase conflict] Signed-off-by: Wei Liu Acked-by: Ian Jackson --- mg-debian-installer-update | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mg-debian-installer-update b/mg-debian-installer-update index 6ca2c93..ba2fdc4 100755 --- a/mg-debian-installer-update +++ b/mg-debian-installer-update @@ -50,6 +50,7 @@ case ${suite}_${arch} in src=$sbase/main/installer-$arch/current/images/netboot/ files="debian-installer/$arch/initrd.gz:initrd.gz \ debian-installer/$arch/linux:linux" + dtbs=$sbase/main/installer-$arch/current/images/device-tree/ ;; wheezy_armhf) # Use the vexpress image, we are going to bash in our own @@ -60,7 +61,8 @@ case ${suite}_${arch} in *_armhf) src=$sbase/main/installer-$arch/current/images/netboot files='vmlinuz initrd.gz' - ;; + dtbs=$sbase/main/installer-$arch/current/images/device-tree/ + ;; esac pfile=$sbase/non-free/binary-$arch/Packages.gz @@ -80,6 +82,15 @@ for f in $files; do fetch $src/$s >$d.new done +if [ "x$dtbs" != "x" ] ; then + # Can't seem to get curl to globs. + rm -rf dtbs + mkdir dtbs + ( cd dtbs && wget -nv -A README,\*.dtb -nd -nH -np -m $dtbs ) + tar --mtime=./dtbs/README -cf dtbs.tar dtbs + gzip -9nf dtbs.tar +fi + fetch $pfile >Packages.gz for p in $packages; do -- 2.39.5