[oe-commits] Chen Qi : cyrus-sasl: remove the unnecessary pkg_postinst

git at git.openembedded.org git at git.openembedded.org
Fri Nov 1 14:11:37 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: d65d7bd079601033b97dc31a1a7710f9bf2f2b25
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=d65d7bd079601033b97dc31a1a7710f9bf2f2b25

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Thu Oct 31 14:29:42 2013 +0800

cyrus-sasl: remove the unnecessary pkg_postinst

saslpasswd2 is used by an administrator to set a user's sasl password,
setting a default one in pkg_postinst in not only unnecessary but also
inappropriate.

Besides, running saslpasswd2 takes a significant amount of time to finish,
so this pkg_postinst will make the first boot take longer time.

According to the above two reasons, the patch remove the pkg_postint.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Joe MacDonald <joe at deserted.net>

---

 .../cyrus-sasl/cyrus-sasl_2.1.26.bb                |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
index 2abaee2..7338277 100644
--- a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
@@ -55,11 +55,6 @@ USERADD_PACKAGES = "${PN}-bin"
 GROUPADD_PARAM_${PN}-bin = "--system mail"
 USERADD_PARAM_${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus"
 
-pkg_postinst_${PN}-bin () {
-    echo "cyrus" | saslpasswd2 -p -c cyrus
-    chgrp mail /etc/sasldb2
-}
-
 SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425"
 SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3"
 



More information about the Openembedded-commits mailing list