mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
postfix.inc: Remove references to buildmachine paths in target makedefs.out
Fixed the buildpaths QA issue: ERROR: QA Issue: File /work/core2-64-wrs-linux/postfix/2.11.1-r0/packages-split/postfix/etc/postfix/makedefs.out in package contained reference to tmpdir [buildpaths] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
c78db30ef5
commit
66be3df87d
@@ -204,6 +204,11 @@ do_install_append_class-native() {
|
|||||||
ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq
|
ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install_append_class-target() {
|
||||||
|
# Remove references to buildmachine paths in target makedefs.out
|
||||||
|
sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
|
||||||
|
}
|
||||||
|
|
||||||
NATIVE_INSTALL_WORKS = "1"
|
NATIVE_INSTALL_WORKS = "1"
|
||||||
|
|
||||||
ALTERNATIVE_${PN} = "sendmail"
|
ALTERNATIVE_${PN} = "sendmail"
|
||||||
|
|||||||
Reference in New Issue
Block a user