mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
b1d047c35a
commit
bd650da7fb
@ -205,6 +205,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() {
|
||||
@ -212,12 +214,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
|
||||
sed -i 's:-I${STAGING_DIR_TARGET}:-I:g' ${D}/etc/postfix/makedefs.out
|
||||
}
|
||||
|
||||
ALTERNATIVE_${PN} = "sendmail"
|
||||
ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix"
|
||||
ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user