Skip to contentSkip to conversation

bootimg: Fix Quoting

PATCH New Saul Wold 1 participant 1 message Feb 28, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 bootimg: Fix Quoting

---
 meta/classes/bootimg.bbclass |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
meta/classes/bootimg.bbclass +4 -4
index 1d1a3d0..f4981d8 100644
@@ -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}
Signature · 1 line
1.7.7.6