From: Ian Campbell Subject: Re: [PATCH OSSTEST v2 11/15] distros: attempt pvgrub support for PV Wheezy too. Date: Fri, 2 May 2014 16:23:35 +0100 Message-ID: <1399044215.18944.13.camel@kazak.uk.xensource.com> References: <1398681672.29700.55.camel@kazak.uk.xensource.com> <1398681696-2773-11-git-send-email-ian.campbell@citrix.com> <21347.39277.915671.770104@mariner.uk.xensource.com> <1399036857.6043.2.camel@kazak.uk.xensource.com> <21347.43393.586764.66771@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21347.43393.586764.66771@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@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2014-05-02 at 15:19 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH OSSTEST v2 11/15] distros: attempt pvgrub support for PV Wheezy too."): > > On Fri, 2014-05-02 at 14:11 +0100, Ian Jackson wrote: > > > (As were the "" before. Not sure why they were there.) > > > > Does the quoting of the termination marker have an impact on the way > > things within the heredoc are interpreted? > > Yes, but "" is the same as no quoting. Saying <<'EOF' prevents > variable interpolation. Ah, "" is the same as no quoting is what I forget. > > > > - my $extra_packages = "pv-grub-menu" if $xopts{PvMenuLst}; > > > > + $xopts{EnableBackports} = 1 > > > > + if $xopts{PvMenuLst} and $suite eq "wheezy"; > > > > > > I normally write this as $suite =~ m/wheezy/ > > > > OK. (But OOI why?) > > It makes it easier to add |jessie when the problem remains unfixed. > (Also if someone has some kind of derivative called "wheezy-blarf", it > is more likely to be right than the exact match.) Lets hope we never have a legitimate release which is a super/substring of another ;-) (at least bo and other dead short ones are long ago).