From: Wei Liu Subject: Re: [PATCH OSSTEST v2 09/11] ts-xen-build-prep: install libc6-dev-i386 for jessie Date: Mon, 15 Jun 2015 17:33:05 +0100 Message-ID: <20150615163305.GJ10177@zion.uk.xensource.com> References: <1434375399-19107-1-git-send-email-wei.liu2@citrix.com> <1434375399-19107-10-git-send-email-wei.liu2@citrix.com> <21886.64376.820894.477550@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z4YFM-0008K1-BS for xen-devel@lists.xenproject.org; Mon, 15 Jun 2015 17:32:32 +0000 Content-Disposition: inline In-Reply-To: <21886.64376.820894.477550@mariner.uk.xensource.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: Ian Jackson Cc: Xen-devel , Wei Liu , ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, Jun 15, 2015 at 05:21:12PM +0100, Ian Jackson wrote: > Wei Liu writes ("[PATCH OSSTEST v2 09/11] ts-xen-build-prep: install libc6-dev-i386 for jessie"): > > Signed-off-by: Wei Liu > ... > > diff --git a/ts-xen-build-prep b/ts-xen-build-prep > > index 4fdc37e..c348dad 100755 > > --- a/ts-xen-build-prep > > +++ b/ts-xen-build-prep > > @@ -232,7 +232,7 @@ END > > if ($ho->{Suite} !~ m/lenny|squeeze/) { > > target_install_packages($ho, 'libfdt-dev'); > > } > > - if ($r{arch} eq 'amd64' && $ho->{Suite} =~ m/wheezy/) { > > + if ($r{arch} eq 'amd64' && $ho->{Suite} =~ m/wheezy|jessie/) { > > target_install_packages($ho, 'libc6-dev-i386'); > > If we are expecting this to be permanent, rather than it being a bug > in wheezy, I think the sense of the test here is wrong, and we should > be listing the older suites which don't need it. > Yes, this is going to be permanent. The root cause is wheezy onwards introduces multi-arch that separates amd64 and i386. I will reverse logic: add that package in the initial set and remove it for older suites. Wei. > Thanks, > Ian.