[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST v2 03/15] mg-debian-installer-update: grab Xen PV domU capable images too
Some test cases are going to want this, so they should be grabbed and versioned here. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- mg-debian-installer-update | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mg-debian-installer-update b/mg-debian-installer-update index 452a2ad..7d24ed2 100755 --- a/mg-debian-installer-update +++ b/mg-debian-installer-update @@ -34,8 +34,8 @@ sbase=$site/dists/$suite case ${suite}_${arch} in *_i386|*_amd64) - src=$sbase/main/installer-$arch/current/images/netboot/debian-installer/$arch - files='initrd.gz linux' + src=$sbase/main/installer-$arch/current/images/netboot/ + files="debian-installer/$arch/initrd.gz:initrd.gz debian-installer/$arch/linux:linux xen/vmlinuz:vmlinuz-xen xen/initrd.gz:initrd.gz-xen" ;; lenny_armhf|squeeze_armhf) # No such thing. @@ -61,7 +61,9 @@ cd $dst for f in $files; do echo >&2 "fetching $f" - curl -s $src/$f >$f.new + s=${f/:*} ; d=${f/*:} + echo "$src/$s => $d.new" + curl -s $src/$s >$d.new done curl -s $pfile >Packages.bz2 @@ -131,7 +133,8 @@ if [ $arch = armhf ]; then fi for f in $files; do - mv -f $f.new $f + s=${f/:*} ; d=${f/*:} + mv -f $d.new $d done rm Packages.bz2 -- 1.9.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |