postfix: Remove useless file makedeps.out
PATCH 1/1 postfix: Remove useless file makedeps.out
From: Changqing Li <[email protected]>
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 <[email protected]>
--- meta-networking/recipes-daemons/postfix/postfix.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
meta-networking/recipes-daemons/postfix/postfix.inc +2 -4
@@ -207,6 +207,8 @@ do_install () { chown :postdrop ${D}${sbindir}/postdrop chmod g+s ${D}${sbindir}/postqueue chmod g+s ${D}${sbindir}/postdrop + + rm -rf ${D}/etc/postfix/makedefs.out } do_install_append_class-native() {
@@ -214,10 +216,6 @@ 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 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out -} ALTERNATIVE_${PN} = "sendmail" ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix"
Signature · 1 line
2.7.4
Ping
Quoted 34 lines · On 05/16/2018 01:52 PM, [email protected] wrote:
From: Changqing Li <[email protected]>
file
/etc/postfix/makedeps.outis useless, remove it.
makedeps.out is intermediate file that documents how Postfix was built for your machine.Signed-off-by Changqing Li <[email protected]>--- meta-networking/recipes-daemons/postfix/postfix.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)meta-networking/recipes-daemons/postfix/postfix.inc +2
-4@@ -207,6 +207,8 @@ do_install () { chown :postdrop ${D}${sbindir}/postdrop chmod g+s ${D}${sbindir}/postqueue chmod g+s ${D}${sbindir}/postdrop + + rm -rf ${D}/etc/postfix/makedefs.out } do_install_append_class-native() {@@ -214,10 +216,6 @@ 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 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out -} ALTERNATIVE_${PN} = "sendmail" ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix"
Signature · 4 lines
BRs Sandy(Li Changqing) +861084778653