[oe-commits] Jackie Huang : postfix.inc: Remove references to buildmachine paths in target makedefs.out

git at git.openembedded.org git at git.openembedded.org
Mon Dec 29 09:11:27 UTC 2014


Module: meta-openembedded.git
Branch: dizzy-next
Commit: bbb3ee05cb1aedd820f38424c339cda4e43e5977
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=bbb3ee05cb1aedd820f38424c339cda4e43e5977

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Fri Nov 21 04:16:52 2014 -0500

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 at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>

---

 meta-networking/recipes-daemons/postfix/postfix.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc
index c58787e..63de2a0 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -201,6 +201,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"



More information about the Openembedded-commits mailing list