diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2018-09-05 17:55:58 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-09-05 13:59:16 -0700 |
commit | 24172f790a80c1a31adc1d5cb6c26ba986c7d4ab (patch) | |
tree | 3c06c7eb28cf0793d0ccabd897591ae41b1b98fa /meta-networking/recipes-support/esmtp/esmtp_1.2.bb | |
parent | db25be4f4c6f0056cc271377712e5530304568c5 (diff) | |
download | meta-openembedded-24172f790a80c1a31adc1d5cb6c26ba986c7d4ab.tar.gz |
esmtp: add sendmail to ALTERNATIVE_${PN}
There are several packages provide ${sbindir}/sendmail
and should add sendmail to ALTERNATIVE_${PN}
to make it work well.
And the sendmail is removed from ALTERNATIVE_${PN}
in below commit:
===
commit 7b500488115c67d657312135b48027a1c26e0955
Author: Lei Maohui <leimaohui@cn.fujitsu.com>
Date: Fri Aug 17 18:19:53 2018 -0700
postfix,esmtp: Fix confilct error in do_rootfs
Error: Transaction check error:
file /usr/bin/mailq conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64
file /usr/bin/newaliases conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
===
Add it back to make sendmail works normally
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/esmtp/esmtp_1.2.bb')
-rw-r--r-- | meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb index 9fb817b49..663161a9b 100644 --- a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb +++ b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb | |||
@@ -18,9 +18,11 @@ EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}" | |||
18 | 18 | ||
19 | inherit autotools update-alternatives | 19 | inherit autotools update-alternatives |
20 | 20 | ||
21 | ALTERNATIVE_${PN} += "mailq newaliases" | 21 | ALTERNATIVE_${PN} += "sendmail mailq newaliases" |
22 | ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq" | 22 | ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq" |
23 | ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases" | 23 | ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases" |
24 | ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" | ||
25 | ALTERNATIVE_TARGET[sendmail] = "${bindir}/esmtp" | ||
24 | 26 | ||
25 | ALTERNATIVE_PRIORITY = "10" | 27 | ALTERNATIVE_PRIORITY = "10" |
26 | 28 | ||