Skip to contentSkip to conversation

meta-openstack: qemu: match spice arch restrictions

PATCH In review Mark Asselstine 2 participants 2 messages Sep 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-openstack: qemu: match spice arch restrictions

The spice recipe is restricted to Intel x86 and x86-64 so keep 'spice' out of the PACKAGECONFIG unless we are using one of these ARCHs.

---
 meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend +4 -1
index 9d774c4..ad1ea25 100644
@@ -1,6 +1,9 @@
 PACKAGECONFIG[spice] = "--enable-spice,--disable-spice,spice,"
 PACKAGECONFIG[libseccomp] = "--enable-seccomp,--disable-seccomp,libseccomp,libseccomp"
 
-PACKAGECONFIG ?= "fdt spice virtfs libcap-ng"
+PACKAGECONFIG ?= "fdt virtfs libcap-ng"
+PACKAGECONFIG_x86 ?= "fdt spice virtfs libcap-ng"
+PACKAGECONFIG_x86-64 ?= "fdt spice virtfs libcap-ng"
+
 PACKAGECONFIG_class-native = "fdt"
 PACKAGECONFIG_class-nativesdk = "fdt"
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 24 lines · Mark Asselstine

The spice recipe is restricted to Intel x86 and x86-64 so keep 'spice' out of the PACKAGECONFIG unless we are using one of these ARCHs.

---
  meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend +4 -1
index 9d774c4..ad1ea25 100644
@@ -1,6 +1,9 @@
  PACKAGECONFIG[spice] = "--enable-spice,--disable-spice,spice,"
  PACKAGECONFIG[libseccomp] = "--enable-seccomp,--disable-seccomp,libseccomp,libseccomp"
 
-PACKAGECONFIG ?= "fdt spice virtfs libcap-ng"
+PACKAGECONFIG ?= "fdt virtfs libcap-ng"
+PACKAGECONFIG_x86 ?= "fdt spice virtfs libcap-ng"
+PACKAGECONFIG_x86-64 ?= "fdt spice virtfs libcap-ng"
+
  PACKAGECONFIG_class-native = "fdt"
  PACKAGECONFIG_class-nativesdk = "fdt"