[oe-commits] Robert Yang : lsb: remove sendmail from sysroot
git at git.openembedded.org
git at git.openembedded.org
Wed Dec 24 17:50:17 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 9e906f4260d9ce44a78cc315930677b3bd0ab9c1
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9e906f4260d9ce44a78cc315930677b3bd0ab9c1
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Fri Dec 19 00:27:54 2014 -0800
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.
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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"
+}
More information about the Openembedded-commits
mailing list