From: Wei Liu Date: Tue, 16 Jun 2015 16:10:00 +0000 (+0100) Subject: mg-debian-installer-update: Also collect DTBs for standard kernels X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0dcbe25d78eff56501a059e4c97a9c0ff626eb67;p=people%2Fliuw%2Fosstest.git 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 --- 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