[meta-virtualization] [PATCH] libvirt: add PACKAGECONFIG for audit, libcap-ng

Bruce Ashfield bruce.ashfield at gmail.com
Wed Dec 3 07:22:09 PST 2014


On Wed, Dec 3, 2014 at 2:41 AM,  <wenzong.fan at windriver.com> wrote:
> From: Wenzong Fan <wenzong.fan at windriver.com>
>
> Add PACKAGECONFIG for audit, libcap-ng, otherwise there would be
> warnings like below:
>
> WARN: libvirt: libvirt-virsh rdepends on audit, but it isn't a build dependency?
> WARN: libvirt: libvirt-virsh rdepends on libcap-ng, but it isn't a build dependency?
> WARN: libvirt: libvirt rdepends on audit, but it isn't a build dependency?
> WARN: libvirt: libvirt rdepends on libcap-ng, but it isn't a build dependency?
> WARN: libvirt: libvirt-libvirtd rdepends on audit, but it isn't a build dependency?
> WARN: libvirt: libvirt-libvirtd rdepends on libcap-ng, but it isn't a build dependency?
>
> Both audit and libcap-ng should be enabled/disabled along with selinux
> since all of them are from meta-selinux.

merged.

Bruce

>
> Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
> ---
>  recipes-extended/libvirt/libvirt_1.2.8.bb |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_1.2.8.bb b/recipes-extended/libvirt/libvirt_1.2.8.bb
> index 57ae613..0f4b29f 100644
> --- a/recipes-extended/libvirt/libvirt_1.2.8.bb
> +++ b/recipes-extended/libvirt/libvirt_1.2.8.bb
> @@ -138,7 +138,7 @@ PRIVATE_LIBS_${PN}-ptest = " \
>  # full config
>  PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
>                     remote macvtap libvirtd netcf udev python ebtables \
> -                   ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
> +                   ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \
>                     ${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
>                     ${@base_contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \
>                    "
> @@ -174,6 +174,8 @@ PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl"
>  PACKAGECONFIG[iproute2] = "ac_cv_path_IP_PATH=/sbin/ip,ac_cv_path_IP_PATH=,iproute2,iproute2"
>  PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl,"
>  PACKAGECONFIG[fuse] = "--with-fuse,--without-fuse,fuse,"
> +PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit,"
> +PACKAGECONFIG[libcap-ng] = "--with-capnp,--without-capng,libcap-ng,"
>
>  # Enable the Python tool support
>  require libvirt-python.inc
> --
> 1.7.9.5
>
> --
> _______________________________________________
> 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