[oe-commits] [meta-openembedded] 04/39: postfix: remove host references from makedefs.out

git at git.openembedded.org git at git.openembedded.org
Fri May 18 14:45:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.

commit 83cd75793ca1679f3842b27864ffc0b8a49e7fbc
Author: Slater, Joseph <joe.slater at windriver.com>
AuthorDate: Mon Mar 19 16:50:25 2018 -0700

    postfix: remove host references from makedefs.out
    
    Several -I definitions contain the value of ${STAGING_DIR_TARGET}
    which should be removed to reference directories on the target.
    
    Signed-off-by: Joe Slater <joe.slater at windriver.com>
---
 meta-networking/recipes-daemons/postfix/postfix.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc
index 09447d5..a8e7540 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -217,6 +217,7 @@ do_install_append_class-native() {
 do_install_append_class-target() {
     # Remove references to buildmachine paths in target makedefs.out
     sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
+    sed -i 's:-I${STAGING_DIR_TARGET}:-I:g' ${D}/etc/postfix/makedefs.out
 }
 
 ALTERNATIVE_${PN} = "sendmail"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list