Patchwork libpam 1.1.4: fix packaging

login
register
mail settings
Submitter Koen Kooi
Date July 27, 2011, 3:21 p.m.
Message ID <1311780091-10692-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/8721/
State New, archived
Headers show

Comments

Koen Kooi - July 27, 2011, 3:21 p.m.
| ERROR: QA Issue: non debug package contains .debug directory: libpam-xtests path /work/armv7a-angstrom-linux-gnueabi/libpam-1.1.4-r0/packages-split/libpam-xtests/usr/share/Linux-PAM/xtests/.debug/tst-pam_dispatch4

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/recipes-extended/pam/libpam_1.1.4.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
Phil Blundell - July 27, 2011, 3:26 p.m.
On Wed, 2011-07-27 at 17:21 +0200, Koen Kooi wrote:
> | ERROR: QA Issue: non debug package contains .debug directory: libpam-xtests path /work/armv7a-angstrom-linux-gnueabi/libpam-1.1.4-r0/packages-split/libpam-xtests/usr/share/Linux-PAM/xtests/.debug/tst-pam_dispatch4

That reminds me, what became of the plan to enable QA errors by default?

p.
Richard Purdie - July 27, 2011, 3:31 p.m.
On Wed, 2011-07-27 at 17:21 +0200, Koen Kooi wrote:
> | ERROR: QA Issue: non debug package contains .debug directory: libpam-xtests path /work/armv7a-angstrom-linux-gnueabi/libpam-1.1.4-r0/packages-split/libpam-xtests/usr/share/Linux-PAM/xtests/.debug/tst-pam_dispatch4
> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  meta/recipes-extended/pam/libpam_1.1.4.bb |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)

Merged to master, thanks.

Kai: Please ensure you watch for these warnings in future...

Richard
Kang Kai - July 28, 2011, 1:30 a.m.
On 2011?07?27? 23:31, Richard Purdie wrote:
> On Wed, 2011-07-27 at 17:21 +0200, Koen Kooi wrote:
>> | ERROR: QA Issue: non debug package contains .debug directory: libpam-xtests path /work/armv7a-angstrom-linux-gnueabi/libpam-1.1.4-r0/packages-split/libpam-xtests/usr/share/Linux-PAM/xtests/.debug/tst-pam_dispatch4
>>
>> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
>> ---
>>   meta/recipes-extended/pam/libpam_1.1.4.bb |    6 ++++--
>>   1 files changed, 4 insertions(+), 2 deletions(-)
> Merged to master, thanks.
>
> Kai: Please ensure you watch for these warnings in future...
>
> Richard
>
Sorry Richard, I will more carefully with these warnings.

Thanks to Koen.

Patch

diff --git a/meta/recipes-extended/pam/libpam_1.1.4.bb b/meta/recipes-extended/pam/libpam_1.1.4.bb
index 59fbdcd..ae20a97 100644
--- a/meta/recipes-extended/pam/libpam_1.1.4.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.4.bb
@@ -9,7 +9,7 @@  SECTION = "base"
 LICENSE = "GPLv2+ | BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083"
 
-PR = "r0"
+PR = "r1"
 
 DEPENDS = "bison flex cracklib"
 RDEPENDS_${PN}-runtime = "libpam pam-plugin-deny pam-plugin-permit pam-plugin-warn pam-plugin-unix"
@@ -40,7 +40,9 @@  inherit autotools gettext
 PACKAGES += "${PN}-runtime ${PN}-xtests"
 FILES_${PN} = "${base_libdir}/lib*${SOLIBS}"
 FILES_${PN}-dbg += "${base_libdir}/security/.debug \
-                    ${base_libdir}/security/pam_filter/.debug"
+                    ${base_libdir}/security/pam_filter/.debug \
+                    ${datadir}/Linux-PAM/xtests/.debug"
+
 FILES_${PN}-dev += "${base_libdir}/security/*.la ${base_libdir}/*.la ${base_libdir}/lib*${SOLIBSDEV}"
 FILES_${PN}-runtime = "${sysconfdir}"
 FILES_${PN}-xtests = "${datadir}/Linux-PAM/xtests"