From: Wei Liu Subject: [PATCH OSSTEST 1/5] mg-debian-installer-update: use new url for armhf packages Date: Wed, 20 May 2015 18:56:24 +0100 Message-ID: <1432144588-2102-2-git-send-email-wei.liu2@citrix.com> References: <1432144588-2102-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yv8EZ-0005Nr-NR for xen-devel@lists.xenproject.org; Wed, 20 May 2015 17:56:47 +0000 In-Reply-To: <1432144588-2102-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: ian.jackson@eu.citrix.com, Wei Liu , ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org 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 --- 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