linux-yocto: Add bbappend for 4.1 for virtualization configuration
PATCH 1/1 linux-yocto: Add bbappend for 4.1 for virtualization configuration
From: He Zhe <[email protected]>
Signed-off-by He Zhe <[email protected]>
--- recipes-kernel/linux/linux-yocto_4.1.bbappend | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto_4.1.bbappend
recipes-kernel/linux/linux-yocto_4.1.bbappend new file +19 -0
@@ -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)}"
Signature · 1 line
1.9.1
merged.
Bruce
Quoted 41 lines · On Tue, Sep 8, 2015 at 2:55 AM, <[email protected]> wrote:
From: He Zhe <[email protected]>
Signed-off-by He Zhe <[email protected]>--- recipes-kernel/linux/linux-yocto_4.1.bbappend | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto_4.1.bbappendrecipes-kernel/linux/linux-yocto_4.1.bbappend new file +19
-1@@ -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)}" --1.9.1
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"