From 9377e68bcd4bd4dd686807f43adac90dfed20da7 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 19 Jan 2016 09:53:08 -0500 Subject: xen: clone 4.1 config to 4.4 4.4 is available in oe-core, and will be built by default in many configurations. That leaves us either needing to force the preferred version or copy our config to 4.4. This is a direct clone of the 4.1 config to 4.4, and is currently untested, but forms a baseline for more updates. Signed-off-by: Bruce Ashfield --- recipes-kernel/linux/linux-yocto_4.4.bbappend | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto_4.4.bbappend diff --git a/recipes-kernel/linux/linux-yocto_4.4.bbappend b/recipes-kernel/linux/linux-yocto_4.4.bbappend new file mode 100644 index 00000000..85e98cc6 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_4.4.bbappend @@ -0,0 +1,19 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://xt-checksum.scc \ + file://ebtables.scc \ + file://vswitch.scc \ + file://lxc.scc \ + " +KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc" + +KERNEL_MODULE_AUTOLOAD += "openvswitch" +KERNEL_MODULE_AUTOLOAD += "kvm" +KERNEL_MODULE_AUTOLOAD += "kvm-amd" +KERNEL_MODULE_AUTOLOAD += "kvm-intel" + +# aufs kernel support required for xen-image-minimal +KERNEL_FEATURES_append += "${@base_contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}" + +# xen kernel support +SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}" -- cgit v1.2.3-54-g00ecf