From: Wei Liu Subject: [PATCH OSSTEST v3 09/11] ts-xen-build-prep: reverse the test for installing libc6-dev-i386 Date: Wed, 17 Jun 2015 14:06:42 +0100 Message-ID: <1434546404-2036-10-git-send-email-wei.liu2@citrix.com> References: <1434546404-2036-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.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z5D3n-00059o-56 for xen-devel@lists.xenproject.org; Wed, 17 Jun 2015 13:07:19 +0000 In-Reply-To: <1434546404-2036-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 Cc: ian.jackson@eu.citrix.com, Wei Liu , ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Starting from wheezy, Debian introduced multiarch support, so we need to install libc6-dev-i386 to build tools. Since multiarch will be permanent, we reverse the test to not install libc6-dev-i386 on releases older than wheezy i.e. wheezy and jessie will have that package). Signed-off-by: Wei Liu --- ts-xen-build-prep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-xen-build-prep b/ts-xen-build-prep index c4fdeac..d97e350 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -227,7 +227,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/squeeze|lenny/) { target_install_packages($ho, 'libc6-dev-i386'); } } -- 1.9.1