From: Ian Jackson Subject: Re: [PATCH OSSTEST v2 10/11] ts-xen-install: install libnl-route-3-200 for jessie Date: Mon, 15 Jun 2015 17:23:25 +0100 Message-ID: <21886.64509.472766.346531@mariner.uk.xensource.com> References: <1434375399-19107-1-git-send-email-wei.liu2@citrix.com> <1434375399-19107-11-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.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z4Y4I-00078d-7D for xen-devel@lists.xenproject.org; Mon, 15 Jun 2015 17:21:06 +0000 In-Reply-To: <1434375399-19107-11-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: Wei Liu Cc: Xen-devel , ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Wei Liu writes ("[PATCH OSSTEST v2 10/11] ts-xen-install: install libnl-route-3-200 for jessie"): > Signed-off-by: Wei Liu ... > target_install_packages($ho, > qw(bridge-utils vncsnapshot libaio1 libpixman-1-0 > libsdl1.2debian libglib2.0-0 liblzma5)); > + if ($ho->{Suite} =~ m/jessie/) { > + target_install_packages($ho, 'libnl-route-3-200'); Acked-by: Ian Jackson .oO{ I wonder if we should make target_install_packages have some kind of magic metasyntax for this kind of thing. target_install_packages($ho, qw(bridge-utils vncsnapshot libaio1 libpixman-1-0 - libsdl1.2debian libglib2.0-0 liblzma5)); + libsdl1.2debian libglib2.0-0 liblzma5 + {>=jessie}libnl-route-3-200)); } Ian.