From: Wei Liu Subject: Re: [PATCH OSSTEST v3 06/11] Cope with Jessie's d-i vg name Date: Wed, 17 Jun 2015 15:42:57 +0100 Message-ID: <20150617144257.GA28194@zion.uk.xensource.com> References: <1434546404-2036-1-git-send-email-wei.liu2@citrix.com> <1434546404-2036-7-git-send-email-wei.liu2@citrix.com> <1434550929.13744.398.camel@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 1Z5EYQ-00008U-MU for xen-devel@lists.xenproject.org; Wed, 17 Jun 2015 14:43:02 +0000 Content-Disposition: inline In-Reply-To: <1434550929.13744.398.camel@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: Ian Campbell Cc: Xen-devel , Wei Liu , ian.jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Wed, Jun 17, 2015 at 03:22:09PM +0100, Ian Campbell wrote: > On Wed, 2015-06-17 at 14:06 +0100, Wei Liu wrote: > > In Jessie the default vg name is changed to "$hostname-vg". Make that > > default case and check for wheezy, squeeze and lenny for backward > > compatibility. > > > > Signed-off-by: Wei Liu > > --- > > Changes in v3: > > 1. Introduce a function to return vg name and use it. > > Testing on ARM64 I get: > Undefined subroutine &main::di_vg_name called at ./ts-xen-build-prep line 55. > > I'm pretty certain this isn't to do with my arm4 patches. > > I suspect adding "use Debian" to ts-xen-build-prep will fix it, I'm not > sure if there is a reason it doesn't do so already. Given that it has a > bunch of Debian-ish stuff in it I see no reason to avoid it... > Yes, use Osstest::Debian; should fix that. I'm running a build job at the moment. I will report back when it finishes. Wei.