[oe] [meta-networking][PATCH 1/5] cyrus-sasl: remove the unnecessary pkg_postinst
Joe MacDonald
joe at deserted.net
Fri Nov 1 14:27:29 UTC 2013
Merged this set. Thanks.
-J.
[[oe][meta-networking][PATCH 1/5] cyrus-sasl: remove the unnecessary pkg_postinst] On 13.10.31 (Thu 14:29) Qi.Chen at windriver.com wrote:
> From: Chen Qi <Qi.Chen at windriver.com>
>
> 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>
> ---
> .../cyrus-sasl/cyrus-sasl_2.1.26.bb | 5 -----
> 1 file changed, 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 f05ab85..b4e9190 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
> @@ -54,11 +54,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"
>
--
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20131101/78df50c4/attachment-0002.sig>
More information about the Openembedded-devel
mailing list