From: Ian Jackson Subject: Re: [PATCH OSSTEST] Debian: correct u-boot command to load flask policy Date: Sat, 16 May 2015 01:26:44 +0100 Message-ID: <21846.36548.289735.743074@mariner.uk.xensource.com> References: <1431716076-16138-1-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: <1431716076-16138-1-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: Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH OSSTEST] Debian: correct u-boot command to load flask policy"): > The use of the $flaskpolocy variable is escaped only once, meaning it > is interpreted by the shell on the test host, a context in which it > is not set (it is set in Perl, and it would be set in u-boot env by > the line above). The symptom was that the ext2load command got given > no file to load and so tries to load the default "pxelinux.0": ... > Rather than adding additional backticks to quote it to be interpreted > by u-boot, remove the quoting so it is interpreted by Perl, making > the setting of the u-boot var (which in any case used the wrong > syntax) unnecessary. This matches what we do for the kernel etc too. > > Signed-off-by: Ian Campbell > Cc: Wei Liu Acked-by: Ian Jackson And I'm about to push it along with the other stuff we discussed earlier today. Ian.