[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 04/35] mg-debian-installer-update: Break out default setting of src=



No functional change.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 mg-debian-installer-update | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/mg-debian-installer-update b/mg-debian-installer-update
index bb1ae62..00cc735 100755
--- a/mg-debian-installer-update
+++ b/mg-debian-installer-update
@@ -31,17 +31,17 @@ packages="$3"
 site=http://ftp.debian.org/debian/
 sbase=$site/dists/$suite
 
+src=$sbase/main/installer-$arch/current/images/netboot/
+
 case ${suite}_${arch} in
     lenny_armhf|squeeze_armhf|lenny_arm64|squeeze_arm64|wheezy_arm64)
         # No such thing.
         exit 0
         ;;
     *_i386|*_amd64)
-        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"
         ;;
     *_arm64)
-        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/
@@ -53,7 +53,6 @@ case ${suite}_${arch} in
         files='initrd.gz' # no kernel -- needs a newer kernel
         ;;
     *_armhf)
-        src=$sbase/main/installer-$arch/current/images/netboot
         files='vmlinuz:linux initrd.gz'
         dtbs=$sbase/main/installer-$arch/current/images/device-tree/
         ;;
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.