diff options
author | Slater, Joseph <joe.slater@windriver.com> | 2018-03-19 16:50:25 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-05-17 08:32:26 -0700 |
commit | 83cd75793ca1679f3842b27864ffc0b8a49e7fbc (patch) | |
tree | fa7e77b9510c0e91157afad7d73f87f83406a5fc /meta-networking | |
parent | 51411b3c7af5df603d341f0cd2641cf55847f564 (diff) | |
download | meta-openembedded-83cd75793ca1679f3842b27864ffc0b8a49e7fbc.tar.gz |
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@windriver.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index 09447d50a..a8e754033 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() { | |||
217 | do_install_append_class-target() { | 217 | do_install_append_class-target() { |
218 | # Remove references to buildmachine paths in target makedefs.out | 218 | # Remove references to buildmachine paths in target makedefs.out |
219 | sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out | 219 | sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out |
220 | sed -i 's:-I${STAGING_DIR_TARGET}:-I:g' ${D}/etc/postfix/makedefs.out | ||
220 | } | 221 | } |
221 | 222 | ||
222 | ALTERNATIVE_${PN} = "sendmail" | 223 | ALTERNATIVE_${PN} = "sendmail" |