Skip to contentSkip to conversation

lsb: remove sendmail from sysroot

PATCH New Robert Yang 1 participant 2 messages Dec 19, 2014

lore
Share & tools
lore
#0 lore raw

cover lsb: remove sendmail from sysroot

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(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 lsb: remove sendmail from sysroot

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

---
 meta/recipes-extended/lsb/lsb_4.1.bb |    8 ++++++++
 1 file changed, 8 insertions(+)
meta/recipes-extended/lsb/lsb_4.1.bb +8 -0
index 69f3962..b4ef98e 100644
@@ -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"
+}
Signature · 1 line
1.7.9.5