diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2014-11-21 04:16:52 -0500 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-11-21 16:32:21 -0500 |
commit | 66be3df87d9caaf4af20433eb0aca6f062463eae (patch) | |
tree | f771ee6f65f3023be531dbd49c9ce8bbf82a98b0 /meta-networking/recipes-daemons | |
parent | c78db30ef5406b10f9522260b1ea6025cdb59ae1 (diff) | |
download | meta-openembedded-contrib-66be3df87d9caaf4af20433eb0aca6f062463eae.tar.gz |
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>
Diffstat (limited to 'meta-networking/recipes-daemons')
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index d2f33569e1..caf1f80770 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc @@ -204,6 +204,11 @@ do_install_append_class-native() { 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" ALTERNATIVE_${PN} = "sendmail" |