When lsb is enabled, that is, 'linuxstdbase' is in OVERRIDES, do_rootfs would fail if both 'msmtp' and 'postfix' are installed. This is because they both try to create /usr/lib/sendmail link if it does not exist. So we need to fix the check to avoid non-zero exit status.
Signed-off-by: Chen Qi <[email protected]> --- meta/recipes-extended/msmtp/msmtp_1.8.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/msmtp/msmtp_1.8.4.bb b/meta/recipes-extended/msmtp/msmtp_1.8.4.bb index 888c1bb..bd8552c 100644 --- a/meta/recipes-extended/msmtp/msmtp_1.8.4.bb +++ b/meta/recipes-extended/msmtp/msmtp_1.8.4.bb @@ -25,5 +25,5 @@ ALTERNATIVE_PRIORITY = "100" pkg_postinst_${PN}_linuxstdbase () { # /usr/lib/sendmial is required by LSB core test - [ ! -L $D/usr/lib/sendmail ] && ln -sf ${sbindir}/sendmail $D/usr/lib/ + [ ! -L $D/usr/lib/sendmail ] && ln -sf ${sbindir}/sendmail $D/usr/lib/ || true } -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
