Skip to contentSkip to conversation

postfix: remove references to buildmachine paths in target makedefs.out

PATCH In review Yi Zhao 2 participants 2 messages Mar 9, 2017 – Mar 10, 2017

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 postfix: remove references to buildmachine paths in target makedefs.out

Clean the buildmachine paths in makedefs.out

---
 meta-networking/recipes-daemons/postfix/postfix.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/postfix/postfix.inc +1 -1
index 03b7985..5bb2491 100644
@@ -214,7 +214,7 @@ do_install_append_class-native() {
 
 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
+    sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
 }
 
 NATIVE_INSTALL_WORKS = "1"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 12 lines · Yi Zhao

Clean the buildmachine paths in makedefs.out

---
 meta-networking/recipes-daemons/postfix/postfix.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/postfix/postfix.inc +0 -0
index 03b7985..5bb2491 100644

meta-networking/recipes-daemons/postfix/postfix.inc do_install_append_class-native() { · line 220

Quoted 8 lines
meta-networking/recipes-daemons/postfix/postfix.inc +1 -1
@@ -214,7 +214,7 @@ do_install_append_class-native() {
 
 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
+    sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
 }
 
 NATIVE_INSTALL_WORKS = "1"

While I can't test the patch right now I see an offending line ^ NATIVE_INSTALL_WORKS is deprecated.

This layer appartently has not been fixed back then.

Cheers

Andrea

Quoted 8 lines

--
2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel