[meta-intel] [PATCH RFC 2/2] qemu-intel.inc: Add to KERNEL_FEATURES via KERNEL_FEATURES_INTEL_COMMON

California Sullivan california.l.sullivan at intel.com
Wed May 10 14:59:05 PDT 2017


Adding to KERNEL_FEATURES causes the kernel tools to try to add the
feature to all kernels, even custom kernels not using the
yocto-kernel-cache. By moving it to KERNEL_FEATURES_INTEL_COMMON, it
will only affect the kernels the layer supplies.

Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
 conf/machine/include/qemu-intel.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/include/qemu-intel.inc b/conf/machine/include/qemu-intel.inc
index 0487d40..8151040 100644
--- a/conf/machine/include/qemu-intel.inc
+++ b/conf/machine/include/qemu-intel.inc
@@ -9,7 +9,7 @@ EXTRA_IMAGEDEPENDS += "ovmf"
 
 # runqemu uses virtio, so we have to enable the corresponding
 # kernel drivers.
-KERNEL_FEATURES += "cfg/virtio.scc"
+KERNEL_FEATURES_INTEL_COMMON += "cfg/virtio.scc"
 
 # Other useful extensions which are not enabled by default:
 # rng-tools to take advantage of qemu's virtio-rng-pci device.
-- 
2.5.5



More information about the meta-intel mailing list