[meta-virtualization] [PATCH 4/5] libvirt: Use DISTRO_FEATURES to enable Xen support
Bruce Ashfield
bruce.ashfield at gmail.com
Wed Feb 26 11:35:18 PST 2014
On Wed, Feb 26, 2014 at 5:07 AM, Jonas Eriksson <jonas.eriksson at enea.com> wrote:
> The Xen drivers in libvirt is needed when the build file system image
> and kernel are running as dom0. The parts of the kernel needed to run as
> dom0 are controlled by DISTRO_FEATURES, and thus there is no need for
> the Xen drivers if DISTRO_FEATURES does not contain 'xen'.
Acked-by: Bruce Ashfield <bruce.ashfield at windriver.com>
>
> Signed-off-by: Jonas Eriksson <jonas.eriksson at enea.com>
> ---
> recipes-extended/libvirt/libvirt_1.2.1.bb | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_1.2.1.bb b/recipes-extended/libvirt/libvirt_1.2.1.bb
> index dbc6ef3..a75cc45 100644
> --- a/recipes-extended/libvirt/libvirt_1.2.1.bb
> +++ b/recipes-extended/libvirt/libvirt_1.2.1.bb
> @@ -109,10 +109,11 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72"
> #PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd"
>
> # full config
> -PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx iproute2 \
> - polkit test remote macvtap libvirtd netcf udev python ebtables \
> +PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 polkit test \
> + remote macvtap libvirtd netcf udev python ebtables \
> ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
> ${@base_contains('DISTRO_FEATURES', 'lxc', 'lxc', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
> "
>
> # enable,disable,depends,rdepends
> --
> 1.9.rc1
>
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the meta-virtualization
mailing list