diff options
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix.inc | 8 |
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" | |||
128 | do_install () { | 128 | do_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 |
235 | FILES_${PN} = "${sysconfdir} ${localstatedir} ${bindir}/* ${sbindir}/* \ | 235 | FILES_${PN} = "${sysconfdir} ${localstatedir} ${bindir}/* ${sbindir}/* \ |
236 | ${exec_prefix}/libexec/postfix/* ${systemd_unitdir}/*" | 236 | ${libexecdir}/* ${systemd_unitdir}/*" |
237 | FILES_${PN}-dbg += "${exec_prefix}/libexec/postfix/.debug" | 237 | FILES_${PN}-dbg += "${libexecdir}/.debug" |