Patchwork [meta-oe,v2,1/4] libcgroup: fix QA warnings

login
register
mail settings
Submitter Andreas Müller
Date March 28, 2012, 8:58 a.m.
Message ID <1332925138-28464-1-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/24711/
State Accepted
Commit 902ed05dfca3ce2b98fc9e3a4cafdee956130df7
Headers show

Comments

Andreas Müller - March 28, 2012, 8:58 a.m.
fix the following warnings:
WARNING: For recipe libcgroup, the following files/directories were installed but not shipped in any package:
WARNING:   /lib/security/pam_cgroup.la
WARNING:   /lib/security/.debug
WARNING:   /lib/security/.debug/pam_cgroup.so.0.0.0
WARNING:   /lib/security/.debug/pam_cgroup.so
WARNING:   /lib/security/.debug/pam_cgroup.so.0

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-oe/recipes-core/libcgroup/libcgroup_0.37.1.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/meta-oe/recipes-core/libcgroup/libcgroup_0.37.1.bb b/meta-oe/recipes-core/libcgroup/libcgroup_0.37.1.bb
index 91829fa..9aba6e1 100644
--- a/meta-oe/recipes-core/libcgroup/libcgroup_0.37.1.bb
+++ b/meta-oe/recipes-core/libcgroup/libcgroup_0.37.1.bb
@@ -3,6 +3,8 @@  SECTION = "libs"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
+PR = "r1"
+
 inherit autotools pkgconfig
 
 DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
@@ -18,6 +20,8 @@  PARALLEL_MAKE = ""
 
 PACKAGES =+ "cgroups-pam-plugin"
 FILES_cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*"
+FILES_${PN}-dbg += "${base_libdir}/security/.debug"
+FILES_${PN}-dev += "${base_libdir}/security/*.la"
 
 # We really need the symlink so :(
 ERROR_QA = "debug-deps dev-deps debug-files arch la2 pkgconfig la perms"