summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-10-31 14:29:42 +0800
committerJoe MacDonald <joe@deserted.net>2013-10-31 13:00:47 -0400
commitd65d7bd079601033b97dc31a1a7710f9bf2f2b25 (patch)
tree3f463bb1661871d0dbdfbc982d49f123eadbb8ad /meta-networking
parent82d1ec9d612a0d1300efa912dd01e20068016705 (diff)
downloadmeta-openembedded-d65d7bd079601033b97dc31a1a7710f9bf2f2b25.tar.gz
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@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb5
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 2abaee2e3..7338277da 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"
55GROUPADD_PARAM_${PN}-bin = "--system mail" 55GROUPADD_PARAM_${PN}-bin = "--system mail"
56USERADD_PARAM_${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus" 56USERADD_PARAM_${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus"
57 57
58pkg_postinst_${PN}-bin () {
59 echo "cyrus" | saslpasswd2 -p -c cyrus
60 chgrp mail /etc/sasldb2
61}
62
63SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425" 58SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425"
64SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3" 59SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3"
65 60