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

[Xen-devel] [PATCH OSSTEST 1/5] mg-debian-installer-update: use new url for armhf packages



When we use Wheezy the arm kernel is only available in wheezy-backports.
In Jessie it is not in backports.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
Not sure if this patch does the right thing.
---
 mg-debian-installer-update | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/mg-debian-installer-update b/mg-debian-installer-update
index 4ff346f..a6693d0 100755
--- a/mg-debian-installer-update
+++ b/mg-debian-installer-update
@@ -93,8 +93,13 @@ done
 # platforms. Construct something suitable from the latest kernel in
 # wheezy-backports.
 if [ $arch = armhf ]; then
-    bp="$sbase-backports"
-    pfile=$bp/main/binary-armhf/Packages.gz
+    if [ x$suite = xwheezy ]; then
+       bp="$sbase-backports"
+       pfile=$bp/main/binary-armhf/Packages.gz
+    else
+       # wheezy onward, starting from jessie
+        pfile=$sbase/main/binary-armhf/Packages.gz
+    fi
 
     fetch $pfile >Packages.gz
 
-- 
1.9.1


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


 


Rackspace

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