On Wed, Dec 3, 2014 at 2:41 AM,  <[email protected]> wrote:
> From: Wenzong Fan <[email protected]>
>
> 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 <[email protected]>
> ---
>  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
> [email protected]
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to