mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-02 09:07:39 +00:00
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>
This commit is contained in:
parent
d4397bcc67
commit
7b50048811
@ -214,9 +214,10 @@ do_install_append_class-native() {
|
|||||||
ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq
|
ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq
|
||||||
}
|
}
|
||||||
|
|
||||||
ALTERNATIVE_${PN} = "sendmail"
|
ALTERNATIVE_${PN} += "mailq newaliases"
|
||||||
ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix"
|
ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq"
|
||||||
ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
|
ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases"
|
||||||
|
|
||||||
ALTERNATIVE_PRIORITY = "120"
|
ALTERNATIVE_PRIORITY = "120"
|
||||||
|
|
||||||
ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"
|
ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"
|
||||||
|
|||||||
@ -18,10 +18,10 @@ EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}"
|
|||||||
|
|
||||||
inherit autotools update-alternatives
|
inherit autotools update-alternatives
|
||||||
|
|
||||||
ALTERNATIVE_${PN} = "sendmail"
|
ALTERNATIVE_${PN} += "mailq newaliases"
|
||||||
|
ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq"
|
||||||
|
ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases"
|
||||||
|
|
||||||
ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
|
|
||||||
ALTERNATIVE_TARGET[sendmail] = "${bindir}/esmtp"
|
|
||||||
ALTERNATIVE_PRIORITY = "10"
|
ALTERNATIVE_PRIORITY = "10"
|
||||||
|
|
||||||
ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"
|
ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user