Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] lsb: remove sendmail from sysroot
@ 2014-12-19  8:27 Robert Yang
  2014-12-19  8:27 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2014-12-19  8:27 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 8d0e56a850579f9a6d501266deeef9b257ce4780:

  serf: readded md5sum (2014-12-11 11:34:22 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/lsb
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/lsb

Robert Yang (1):
  lsb: remove sendmail from sysroot

 meta/recipes-extended/lsb/lsb_4.1.bb |    8 ++++++++
 1 file changed, 8 insertions(+)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] lsb: remove sendmail from sysroot
  2014-12-19  8:27 [PATCH 0/1] lsb: remove sendmail from sysroot Robert Yang
@ 2014-12-19  8:27 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2014-12-19  8:27 UTC (permalink / raw)
  To: openembedded-core

The sysroot/${libdir}/sendmail conflicts with esmtp's, and it's a
symlink to ${sbindir}/sendmail which is meaningless for sysroot, so
remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-extended/lsb/lsb_4.1.bb |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
index 69f3962..b4ef98e 100644
--- a/meta/recipes-extended/lsb/lsb_4.1.bb
+++ b/meta/recipes-extended/lsb/lsb_4.1.bb
@@ -121,3 +121,11 @@ FILES_${PN} += "/lib64 \
                 ${base_libdir}/lsb/* \
 		${libdir}/sendmail \
                "
+
+# The sysroot/${libdir}/sendmail conflicts with esmtp's, and it's a
+# symlink to ${sbindir}/sendmail which is meaningless for sysroot, so
+# remove it.
+SYSROOT_PREPROCESS_FUNCS += "remove_sysroot_sendmail"
+remove_sysroot_sendmail() {
+    rm -r "${SYSROOT_DESTDIR}${libdir}/sendmail"
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-19  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19  8:27 [PATCH 0/1] lsb: remove sendmail from sysroot Robert Yang
2014-12-19  8:27 ` [PATCH 1/1] " Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox