summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-12-19 00:27:54 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-25 08:18:13 +0000
commit51374d55ef64689f393dc0aeb1943086ac0bc6b6 (patch)
tree6189e08d354c1514eaabbc6887e4e51c411aa0f6 /meta/recipes-extended
parent422c31781801eed841a25e0816395df6b54fb80e (diff)
downloadpoky-51374d55ef64689f393dc0aeb1943086ac0bc6b6.tar.gz
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. (From OE-Core rev: 9e906f4260d9ce44a78cc315930677b3bd0ab9c1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/lsb/lsb_4.1.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
index 69f3962ec4..b4ef98eea7 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 \
121 ${base_libdir}/lsb/* \ 121 ${base_libdir}/lsb/* \
122 ${libdir}/sendmail \ 122 ${libdir}/sendmail \
123 " 123 "
124
125# The sysroot/${libdir}/sendmail conflicts with esmtp's, and it's a
126# symlink to ${sbindir}/sendmail which is meaningless for sysroot, so
127# remove it.
128SYSROOT_PREPROCESS_FUNCS += "remove_sysroot_sendmail"
129remove_sysroot_sendmail() {
130 rm -r "${SYSROOT_DESTDIR}${libdir}/sendmail"
131}