diff options
| author | changqing.li@windriver.com <changqing.li@windriver.com> | 2018-06-05 15:06:59 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-06-05 18:17:21 -0700 |
| commit | bd650da7fba52677a6389471d139e4b1f080b4cf (patch) | |
| tree | e596c97d5adb31f7d3773c8cb693e56d3643c519 | |
| parent | b1d047c35a7dafb0e206475be371596cc9368715 (diff) | |
| download | meta-openembedded-bd650da7fba52677a6389471d139e4b1f080b4cf.tar.gz | |
postfix: Remove useless file makedeps.out of postfix
file /etc/postfix/makedeps.out is useless, remove it.
makedeps.out is intermediate file that documents how Postfix was built for your machine.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index ac0589467a..a504b85d8d 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc | |||
| @@ -205,6 +205,8 @@ do_install () { | |||
| 205 | chown :postdrop ${D}${sbindir}/postdrop | 205 | chown :postdrop ${D}${sbindir}/postdrop |
| 206 | chmod g+s ${D}${sbindir}/postqueue | 206 | chmod g+s ${D}${sbindir}/postqueue |
| 207 | chmod g+s ${D}${sbindir}/postdrop | 207 | chmod g+s ${D}${sbindir}/postdrop |
| 208 | |||
| 209 | rm -rf ${D}/etc/postfix/makedefs.out | ||
| 208 | } | 210 | } |
| 209 | 211 | ||
| 210 | do_install_append_class-native() { | 212 | do_install_append_class-native() { |
| @@ -212,12 +214,6 @@ do_install_append_class-native() { | |||
| 212 | ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq | 214 | ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq |
| 213 | } | 215 | } |
| 214 | 216 | ||
| 215 | do_install_append_class-target() { | ||
| 216 | # Remove references to buildmachine paths in target makedefs.out | ||
| 217 | sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out | ||
| 218 | sed -i 's:-I${STAGING_DIR_TARGET}:-I:g' ${D}/etc/postfix/makedefs.out | ||
| 219 | } | ||
| 220 | |||
| 221 | ALTERNATIVE_${PN} = "sendmail" | 217 | ALTERNATIVE_${PN} = "sendmail" |
| 222 | ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix" | 218 | ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix" |
| 223 | ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" | 219 | ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" |
