Fix confilct error in do_rootfs.
PATCH 1/1 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
--- meta-networking/recipes-daemons/postfix/postfix.inc | 7 ++++--- meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-)
meta-networking/recipes-daemons/postfix/postfix.inc +4 -3
@@ -219,9 +219,10 @@ do_install_append_class-target() { sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out } -ALTERNATIVE_${PN} = "sendmail" -ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix" -ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" +ALTERNATIVE_${PN} += "mailq newaliases" +ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq" +ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases" + ALTERNATIVE_PRIORITY = "120" ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"
meta-networking/recipes-support/esmtp/esmtp_1.2.bb +3 -3
@@ -18,10 +18,10 @@ EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}" 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_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"
Signature · 1 line
1.9.1
Can you rebase it on master and send again ?
Quoted 57 lines · Lei Maohui
Error: Transaction check error:
file/usr/bin/mailqconflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 file/usr/bin/newaliasesconflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64Signed-off-by Lei Maohui <[email protected]>--- meta-networking/recipes-daemons/postfix/postfix.inc | 7 ++++--- meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-)meta-networking/recipes-daemons/postfix/postfix.inc +4
-3@@ -219,9 +219,10 @@ do_install_append_class-target() { sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out } -ALTERNATIVE_${PN} = "sendmail" -ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix" -ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" +ALTERNATIVE_${PN} += "mailq newaliases" +ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq" +ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases" + ALTERNATIVE_PRIORITY = "120" ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"meta-networking/recipes-support/esmtp/esmtp_1.2.bb +3
-4@@ -18,10 +18,10 @@ EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}" 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_${PN}-doc += "mailq.1 newaliases.1 sendmail.1" --1.9.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
ping
Quoted 60 lines
-----Original Message-----
From: Lei, Maohui
Sent: Monday, May 28, 2018 2:34 AM
To: [email protected]
Cc: Lei, Maohui
Subject: [oe] [meta-networking][PATCH] Fix confilct error indo_rootfs.Error: Transaction check error:
file/usr/bin/mailqconflicts between attempted installs of esmtp-1.2-
r0.x86_64 and postfix-3.2.2-r0.x86_64
file/usr/bin/newaliasesconflicts between attempted installs of esmtp-1.2-
r0.x86_64 and postfix-3.2.2-r0.x86_64Signed-off-by Lei Maohui <[email protected]>--- meta-networking/recipes-daemons/postfix/postfix.inc | 7 ++++--- meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-)meta- renamed from meta-networking/recipes-daemons/postfix/postfix.inc +0
-0networking/recipes-daemons/postfix/postfix.inc
index 09447d5..a5e8618 100644meta-networking/recipes-daemons/postfix/postfix.inc +0
-0@@ -219,9 +219,10 @@ do_install_append_class-target() { sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
}meta-networking/recipes-daemons/postfix/postfix.inc +4
-3-ALTERNATIVE_${PN} = "sendmail" -ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix" -ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" +ALTERNATIVE_${PN} += "mailq newaliases" +ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq" +ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases" + ALTERNATIVE_PRIORITY = "120" ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"meta- renamed from meta-networking/recipes-support/esmtp/esmtp_1.2.bb +0
-0networking/recipes-support/esmtp/esmtp_1.2.bb
index 2da73e7..9fb817b 100644meta-networking/recipes-support/esmtp/esmtp_1.2.bb +3
-4@@ -18,10 +18,10 @@ EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}" 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_${PN}-doc += "mailq.1 newaliases.1 sendmail.1" --1.9.1
Quoted 3 lines · Maohui
ping
can you rebase on latest master and resend ?
Quoted 68 lines
Quoted 59 lines
-----Original Message-----
From: Lei, Maohui
Sent: Monday, May 28, 2018 2:34 AM
To: [email protected]
Cc: Lei, Maohui
Subject: [oe] [meta-networking][PATCH] Fix confilct error indo_rootfs.Error: Transaction check error:
file/usr/bin/mailqconflicts between attempted installs of esmtp-1.2-
r0.x86_64 and postfix-3.2.2-r0.x86_64
file/usr/bin/newaliasesconflicts between attempted installs of esmtp-1.2-
r0.x86_64 and postfix-3.2.2-r0.x86_64Signed-off-by Lei Maohui <[email protected]>--- meta-networking/recipes-daemons/postfix/postfix.inc | 7 ++++--- meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-)meta- renamed from meta-networking/recipes-daemons/postfix/postfix.inc +0
-0networking/recipes-daemons/postfix/postfix.inc
index 09447d5..a5e8618 100644meta-networking/recipes-daemons/postfix/postfix.inc +0
-0@@ -219,9 +219,10 @@ do_install_append_class-target() { sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
}meta-networking/recipes-daemons/postfix/postfix.inc +4
-3-ALTERNATIVE_${PN} = "sendmail" -ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix" -ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" +ALTERNATIVE_${PN} += "mailq newaliases" +ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq" +ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases" + ALTERNATIVE_PRIORITY = "120" ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1"meta- renamed from meta-networking/recipes-support/esmtp/esmtp_1.2.bb +0
-0networking/recipes-support/esmtp/esmtp_1.2.bb
index 2da73e7..9fb817b 100644meta-networking/recipes-support/esmtp/esmtp_1.2.bb +3
-4@@ -18,10 +18,10 @@ EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}" 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_${PN}-doc += "mailq.1 newaliases.1 sendmail.1" --Quoted 1 line
1.9.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel