* [PATCH V2 0/1] msmtp: use alternatives to manage /usr/lib/sendmail
@ 2019-07-15 8:35 Chen Qi
2019-07-15 8:35 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2019-07-15 8:35 UTC (permalink / raw)
To: openembedded-core
Changes in V2:
* Use alternatives instead fixing the postinstall. This avoid inconsistent /usr/lib/sendmail link.
The following changes since commit 80ab79168ede2786868cbd354f0950c949f73527:
gnome-themes-standard: remove (2019-07-11 09:32:50 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/msmtp-lsb
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/msmtp-lsb
Chen Qi (1):
msmtp: use alternatives to manage /usr/lib/sendmail
meta/recipes-extended/msmtp/msmtp_1.8.4.bb | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] msmtp: use alternatives to manage /usr/lib/sendmail
2019-07-15 8:35 [PATCH V2 0/1] msmtp: use alternatives to manage /usr/lib/sendmail Chen Qi
@ 2019-07-15 8:35 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2019-07-15 8:35 UTC (permalink / raw)
To: openembedded-core
There are several packages which all provide /usr/lib/sendmail
when lsb is enabled. So use alternative to manage it.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/recipes-extended/msmtp/msmtp_1.8.4.bb | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-extended/msmtp/msmtp_1.8.4.bb b/meta/recipes-extended/msmtp/msmtp_1.8.4.bb
index 888c1bb..0f10500 100644
--- a/meta/recipes-extended/msmtp/msmtp_1.8.4.bb
+++ b/meta/recipes-extended/msmtp/msmtp_1.8.4.bb
@@ -19,11 +19,10 @@ inherit gettext autotools update-alternatives pkgconfig
EXTRA_OECONF += "--without-libsecret --without-libgsasl --without-libidn"
ALTERNATIVE_${PN} = "sendmail"
+# /usr/lib/sendmial is required by LSB core test
+ALTERNATIVE_${PN}_linuxstdbase = "sendmail usr-lib-sendmail"
ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp"
ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
+ALTERNATIVE_TARGET[usr-lib-sendmail] = "${bindir}/msmtp"
+ALTERNATIVE_LINK_NAME[usr-lib-sendmail] = "/usr/lib/sendmail"
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/
-}
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-15 8:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-15 8:35 [PATCH V2 0/1] msmtp: use alternatives to manage /usr/lib/sendmail Chen Qi
2019-07-15 8:35 ` [PATCH 1/1] " Chen Qi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.