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>
This commit is contained in:
parent
422c317818
commit
51374d55ef
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue