All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libvirt: fix warning of sysctl.d/libvirtd.conf
@ 2013-05-14  9:48 Olivia Yin
  2013-05-14 13:22 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Olivia Yin @ 2013-05-14  9:48 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Olivia Yin

WARNING: QA Issue: libvirt: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/sysctl.d
  /usr/lib/sysctl.d/libvirtd.conf

$(DESTDIR)$(prefix)/lib is hardcoded in libvirt Makefile due to following
reason that is stated in the daemon/Makefile.in of libvirt.
    # Use $(prefix)/lib rather than $(libdir), since man sysctl.d insists on
    # /usr/lib/sysctl.d/ even when libdir is /usr/lib64
    @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@install-sysctl:
    @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@  $(MKDIR_P) $(DESTDIR)$(prefix)/lib/sysctl.d
    @WI TH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@  $(INSTALL_DATA) $(srcdir)/libvirtd.sysctl \
    @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@    $(DESTDIR)$(prefix)/lib/sysctl.d/libvirtd.conf

Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com>
---
 recipes-extended/libvirt/libvirt_1.0.3.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes-extended/libvirt/libvirt_1.0.3.bb b/recipes-extended/libvirt/libvirt_1.0.3.bb
index 88cb018..f0683c8 100644
--- a/recipes-extended/libvirt/libvirt_1.0.3.bb
+++ b/recipes-extended/libvirt/libvirt_1.0.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://libvirt.org"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
 SECTION = "console/tools"
-PR = "r2"
+PR = "r333"
 
 DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
 	   iptables ebtables dnsmasq readline"
@@ -87,6 +87,7 @@ FILES_${PN}-libvirtd = "${sysconfdir}/init.d \
 	${sysconfdir}/sysctl.d \
 	${sysconfdir}/logrotate.d \
 	${sysconfdir}/libvirt/libvirtd.conf \
+        /usr/lib/sysctl.d/libvirtd.conf \
 	${sbindir}/libvirtd"
 
 FILES_${PN}-virsh = "${bindir}/virsh"
-- 
1.7.0.4




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

* Re: [PATCH] libvirt: fix warning of sysctl.d/libvirtd.conf
  2013-05-14  9:48 [PATCH] libvirt: fix warning of sysctl.d/libvirtd.conf Olivia Yin
@ 2013-05-14 13:22 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2013-05-14 13:22 UTC (permalink / raw)
  To: Olivia Yin; +Cc: meta-virtualization

On Tue, May 14, 2013 at 5:48 AM, Olivia Yin <hong-hua.yin@freescale.com> wrote:
> WARNING: QA Issue: libvirt: Files/directories were installed but not shipped
>   /usr/lib
>   /usr/lib/sysctl.d
>   /usr/lib/sysctl.d/libvirtd.conf
>
> $(DESTDIR)$(prefix)/lib is hardcoded in libvirt Makefile due to following
> reason that is stated in the daemon/Makefile.in of libvirt.
>     # Use $(prefix)/lib rather than $(libdir), since man sysctl.d insists on
>     # /usr/lib/sysctl.d/ even when libdir is /usr/lib64
>     @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@install-sysctl:
>     @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@  $(MKDIR_P) $(DESTDIR)$(prefix)/lib/sysctl.d
>     @WI TH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@  $(INSTALL_DATA) $(srcdir)/libvirtd.sysctl \
>     @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@    $(DESTDIR)$(prefix)/lib/sysctl.d/libvirtd.conf

Great commit log!

>
> Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com>
> ---
>  recipes-extended/libvirt/libvirt_1.0.3.bb |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_1.0.3.bb b/recipes-extended/libvirt/libvirt_1.0.3.bb
> index 88cb018..f0683c8 100644
> --- a/recipes-extended/libvirt/libvirt_1.0.3.bb
> +++ b/recipes-extended/libvirt/libvirt_1.0.3.bb
> @@ -3,7 +3,7 @@ HOMEPAGE = "http://libvirt.org"
>  LICENSE = "GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
>  SECTION = "console/tools"
> -PR = "r2"
> +PR = "r333"

Typo ? or is your keystuck ? :)

Resend with that fixed, and I have no objections.

Bruce

>
>  DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
>            iptables ebtables dnsmasq readline"
> @@ -87,6 +87,7 @@ FILES_${PN}-libvirtd = "${sysconfdir}/init.d \
>         ${sysconfdir}/sysctl.d \
>         ${sysconfdir}/logrotate.d \
>         ${sysconfdir}/libvirt/libvirtd.conf \
> +        /usr/lib/sysctl.d/libvirtd.conf \
>         ${sbindir}/libvirtd"
>
>  FILES_${PN}-virsh = "${bindir}/virsh"
> --
> 1.7.0.4
>
>
> _______________________________________________
> 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:[~2013-05-14 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-14  9:48 [PATCH] libvirt: fix warning of sysctl.d/libvirtd.conf Olivia Yin
2013-05-14 13: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.