All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libvirt: add PACKAGECONFIG for audit, libcap-ng
@ 2014-12-03  7:41 wenzong.fan
  2014-12-03 15:22 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: wenzong.fan @ 2014-12-03  7:41 UTC (permalink / raw)
  To: meta-virtualization

From: Wenzong Fan <wenzong.fan@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.

Signed-off-by: Wenzong Fan <wenzong.fan@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libvirt: add PACKAGECONFIG for audit, libcap-ng
  2014-12-03  7:41 [PATCH] libvirt: add PACKAGECONFIG for audit, libcap-ng wenzong.fan
@ 2014-12-03 15:22 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2014-12-03 15:22 UTC (permalink / raw)
  To: wenzong.fan; +Cc: meta-virtualization

On Wed, Dec 3, 2014 at 2:41 AM,  <wenzong.fan@windriver.com> wrote:
> From: Wenzong Fan <wenzong.fan@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@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@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"


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-03 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03  7:41 [PATCH] libvirt: add PACKAGECONFIG for audit, libcap-ng wenzong.fan
2014-12-03 15:22 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.