aboutsummaryrefslogtreecommitdiffstats
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-contrib-2166c638b497010bfc51cb3d04581ae35c8a8e11.tar.gz
meta-openembedded-contrib-2166c638b497010bfc51cb3d04581ae35c8a8e11.tar.bz2
meta-openembedded-contrib-2166c638b497010bfc51cb3d04581ae35c8a8e11.zip
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 3801e61e8d..e73f2f098c 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"
do_install () {
sh ./postfix-install 'install_root=${D}' \
'config_directory=${sysconfdir}/postfix' \
- 'daemon_directory=${exec_prefix}/libexec/postfix' \
+ 'daemon_directory=${libexecdir}' \
'command_directory=${sbindir}' \
'queue_directory=${localstatedir}/spool/postfix' \
'sendmail_path=${sbindir}/sendmail.postfix' \
@@ -149,7 +149,7 @@ do_install () {
install -m 0644 ${WORKDIR}/postfix.service ${D}${systemd_unitdir}/system
sed -i 's,/usr/sbin/,${sbindir}/,g' ${D}${systemd_unitdir}/system/postfix.service
- install -m 0755 ${WORKDIR}/aliasesdb ${D}${exec_prefix}/libexec/postfix/
+ install -m 0755 ${WORKDIR}/aliasesdb ${D}${libexecdir}
install -m 770 -d ${D}${localstatedir}/spool/postfix
chown postfix:postfix ${D}${localstatedir}/spool/postfix
@@ -233,5 +233,5 @@ pkg_postinst_${PN} () {
# Exclude .debug directories from the main package
FILES_${PN} = "${sysconfdir} ${localstatedir} ${bindir}/* ${sbindir}/* \
- ${exec_prefix}/libexec/postfix/* ${systemd_unitdir}/*"
-FILES_${PN}-dbg += "${exec_prefix}/libexec/postfix/.debug"
+ ${libexecdir}/* ${systemd_unitdir}/*"
+FILES_${PN}-dbg += "${libexecdir}/.debug"