Patchwork [1/1] bootimg.bbclass: Quoting fixes

login
register
mail settings
Submitter Elizabeth Flanagan
Date Feb. 29, 2012, 12:23 a.m.
Message ID <0d6796d36dede0968c1f164e05f9be2969f3b29d.1330474667.git.elizabeth.flanagan@intel.com>
Download mbox | patch
Permalink /patch/22381/
State New
Headers show

Comments

Elizabeth Flanagan - Feb. 29, 2012, 12:23 a.m.
From: Elizabeth Flanagan <elizabeth.flanagan@intel.com>

More quoting issues during an fri build. Fixing as per standard.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
---
 meta/classes/bootimg.bbclass |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
Otavio Salvador - Feb. 29, 2012, 1:13 a.m.
On Tue, Feb 28, 2012 at 21:23, Beth Flanagan
<elizabeth.flanagan@intel.com> wrote:
> More quoting issues during an fri build. Fixing as per standard.

Already done by Saul :)

Patch

diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 1d1a3d0..dd37034 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -35,8 +35,8 @@  ISODIR = "${S}/iso"
 BOOTIMG_VOLUME_ID   ?= "boot"
 BOOTIMG_EXTRA_SPACE ?= "512"
 
-EFI = ${@base_contains("MACHINE_FEATURES", "efi", "1", "0", d)}
-EFI_CLASS = ${@base_contains("MACHINE_FEATURES", "efi", "grub-efi", "dummy", d)}
+EFI = '${@base_contains("MACHINE_FEATURES", "efi", "1", "0", d)}'
+EFI_CLASS = '${@base_contains("MACHINE_FEATURES", "efi", "grub-efi", "dummy", d)}'
 
 # Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not
 # contain "efi". This way legacy is supported by default if neither is
@@ -52,8 +52,8 @@  def pcbios_class(d):
 		return "syslinux"
 	return "dummy"
 
-PCBIOS = ${@pcbios(d)}
-PCBIOS_CLASS = ${@pcbios_class(d)}
+PCBIOS = '${@pcbios(d)}'
+PCBIOS_CLASS = '${@pcbios_class(d)}'
 
 inherit ${PCBIOS_CLASS}
 inherit ${EFI_CLASS}