summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBian Naimeng <biannm@cn.fujitsu.com>2015-02-09 11:27:37 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2015-02-11 21:25:41 -0500
commit2166c638b497010bfc51cb3d04581ae35c8a8e11 (patch)
tree9802ee0a8afc3e2bb263f8f36674d222bdb7033d
parentfedb486a3adafb8a471c4d78c41bb15636f3d282 (diff)
downloadmeta-openembedded-2166c638b497010bfc51cb3d04581ae35c8a8e11.tar.gz
postfix: instead ${exec_prefix}/libexec/${PN} by ${libexecdir}
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--meta-networking/recipes-daemons/postfix/postfix.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc
index 3801e61e8..e73f2f098 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -128,7 +128,7 @@ SYSTEMD_SERVICE_${PN} = "postfix.service"
128do_install () { 128do_install () {
129 sh ./postfix-install 'install_root=${D}' \ 129 sh ./postfix-install 'install_root=${D}' \
130 'config_directory=${sysconfdir}/postfix' \ 130 'config_directory=${sysconfdir}/postfix' \
131 'daemon_directory=${exec_prefix}/libexec/postfix' \ 131 'daemon_directory=${libexecdir}' \
132 'command_directory=${sbindir}' \ 132 'command_directory=${sbindir}' \
133 'queue_directory=${localstatedir}/spool/postfix' \ 133 'queue_directory=${localstatedir}/spool/postfix' \
134 'sendmail_path=${sbindir}/sendmail.postfix' \ 134 'sendmail_path=${sbindir}/sendmail.postfix' \
@@ -149,7 +149,7 @@ do_install () {
149 install -m 0644 ${WORKDIR}/postfix.service ${D}${systemd_unitdir}/system 149 install -m 0644 ${WORKDIR}/postfix.service ${D}${systemd_unitdir}/system
150 sed -i 's,/usr/sbin/,${sbindir}/,g' ${D}${systemd_unitdir}/system/postfix.service 150 sed -i 's,/usr/sbin/,${sbindir}/,g' ${D}${systemd_unitdir}/system/postfix.service
151 151
152 install -m 0755 ${WORKDIR}/aliasesdb ${D}${exec_prefix}/libexec/postfix/ 152 install -m 0755 ${WORKDIR}/aliasesdb ${D}${libexecdir}
153 153
154 install -m 770 -d ${D}${localstatedir}/spool/postfix 154 install -m 770 -d ${D}${localstatedir}/spool/postfix
155 chown postfix:postfix ${D}${localstatedir}/spool/postfix 155 chown postfix:postfix ${D}${localstatedir}/spool/postfix
@@ -233,5 +233,5 @@ pkg_postinst_${PN} () {
233 233
234# Exclude .debug directories from the main package 234# Exclude .debug directories from the main package
235FILES_${PN} = "${sysconfdir} ${localstatedir} ${bindir}/* ${sbindir}/* \ 235FILES_${PN} = "${sysconfdir} ${localstatedir} ${bindir}/* ${sbindir}/* \
236 ${exec_prefix}/libexec/postfix/* ${systemd_unitdir}/*" 236 ${libexecdir}/* ${systemd_unitdir}/*"
237FILES_${PN}-dbg += "${exec_prefix}/libexec/postfix/.debug" 237FILES_${PN}-dbg += "${libexecdir}/.debug"