From: Ian Jackson Subject: Re: [OSSTEST Nested PATCH v11 3/7] Changes to support '/boot' leading paths of kernel, xen, in grub Date: Wed, 10 Jun 2015 14:31:40 +0100 Message-ID: <21880.15420.806864.244775@mariner.uk.xensource.com> References: <1432631304-27347-1-git-send-email-longtaox.pang@intel.com> <1432631304-27347-4-git-send-email-longtaox.pang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1432631304-27347-4-git-send-email-longtaox.pang@intel.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: "longtao.pang" Cc: robert.hu@intel.com, wei.liu2@citrix.com, Ian.Campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org longtao.pang writes ("[OSSTEST Nested PATCH v11 3/7] Changes to support '/boot' leading paths of kernel, xen, in grub"): > Support situations of grub that have vmlinuz and other things starting > with path of '/boot' rather than '/'. The insertion of (?:\/boot) is fine, but: > - if (m/^\s*multiboot\s*\/(xen\-[0-9][-+.0-9a-z]*\S+)/) { > + if (m/^\s*multiboot\s*(?:\/boot)?\/(xen\S+)/) { Here you change the regexp for the xen image, without any explanation. Ian.