Skip to content

Commit

Permalink
postfix: fix multilib conflict of sample-main.cf
Browse files Browse the repository at this point in the history
It fails to install postfix and lib32-postfix at same time:

| Error: Transaction test error:
|   file /etc/postfix/sample-main.cf conflicts between attempted installs of
    lib32-postfix-cfg-3.7.3-r0.i586 and postfix-cfg-3.7.3-r0.core2_64

Rename sample-main.cf with ${MLPREFIX}.

Signed-off-by: Kai Kang <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kkang-wr authored and kraj committed Dec 6, 2022
1 parent abc5011 commit b75c138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-networking/recipes-daemons/postfix/postfix.inc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ do_install () {
'data_directory=${localstatedir}/lib/postfix' \
-non-interactive
rm -rf ${D}${localstatedir}/spool/postfix
mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/sample-main.cf
mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/${MLPREFIX}sample-main.cf
install -m 755 ${S}/bin/smtp-sink ${D}/${sbindir}/
install -d ${D}${sysconfdir}/init.d
install -m 644 ${WORKDIR}/main.cf ${D}${sysconfdir}/postfix/main.cf
Expand Down

0 comments on commit b75c138

Please sign in to comment.