From: Ian Jackson Subject: Re: [PATCH OSSTEST 5/7] Debian: ARM: only apply no bootloader workaround if xopts{PvMenuLst} Date: Wed, 12 Aug 2015 16:40:53 +0100 Message-ID: <21963.26885.613882.497366@mariner.uk.xensource.com> References: <1438865077.9747.150.camel@citrix.com> <1438865094-20933-5-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1438865094-20933-5-git-send-email-ian.campbell@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@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH OSSTEST 5/7] Debian: ARM: only apply no bootloader workaround if xopts{PvMenuLst}"): > This workaround is only necessary because of how pv-menu-list works, > so we should only apply both or neither of them. > > This results in a long line and I'm about to add a second workaround > to this block, so switch to a regular if block instead of postfixing > on the one command. Move the comment inside that block in preparation > for other workarounds as well. ... > + if ($xopts{PvMenuLst} && $arch =~ /^arm/ && > + $suite =~ /wheezy|jessie|sid/ ) { If you're going to wrap this I would mildly prefer /all/ the &&s to generate a newline, so it is clearer that it's a 3-factor expression. But, regardless, Acked-by: Ian Jackson