All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-kde][PATCH] cyrus-sasl: Make pkg_postinst/rm package specfic
@ 2013-03-20  8:51 Khem Raj
  2013-03-20  9:13 ` Marcin Juszkiewicz
  0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2013-03-20  8:51 UTC (permalink / raw)
  To: openembedded-devel

Fixes QA errors:

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
Variable pkg_postinst is set as not being package specific, please fix
this.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-misc-support/cyrus-sasl_2.1.19.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-misc-support/cyrus-sasl_2.1.19.bb b/recipes-misc-support/cyrus-sasl_2.1.19.bb
index 2c9d359..da9a709 100644
--- a/recipes-misc-support/cyrus-sasl_2.1.19.bb
+++ b/recipes-misc-support/cyrus-sasl_2.1.19.bb
@@ -47,7 +47,7 @@ do_install () {
 FILES_${PN} += "${prefix}/lib/sasl2/*.so*"
 FILES_${PN}-dev += "${libdir}/sasl2/*.la ${libdir}/sasl2/*.a"
 
-pkg_postinst () {
+pkg_postinst_${PN} () {
         grep cyrus /etc/passwd || adduser --disabled-password --home=/var/spool/mail --ingroup mail -g "Cyrus sasl" cyrus
     echo "cyrus" | saslpasswd2 -p -c cyrus
     chgrp mail /etc/sasldb2
-- 
1.7.9.5




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

end of thread, other threads:[~2013-03-20 14:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20  8:51 [meta-kde][PATCH] cyrus-sasl: Make pkg_postinst/rm package specfic Khem Raj
2013-03-20  9:13 ` Marcin Juszkiewicz
2013-03-20  9:32   ` Samuel Stirtzel
2013-03-20  9:53     ` Marcin Juszkiewicz
2013-03-20 10:38       ` Samuel Stirtzel
2013-03-20 14:03     ` Khem Raj
2013-03-20 14:01   ` Khem Raj
2013-03-20 14:23     ` Samuel Stirtzel

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.