summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2024-06-28 14:06:44 +0800
committerGyorgy Sarvari <skandigraun@gmail.com>2025-09-26 15:13:03 +0200
commitefc78dfed0aac1afbb163df41251de603a85e72a (patch)
tree91eb221bc4b693c29fc6b3793d889a3518eba20d
parentacdeeb0a4acdb0f05678d05e9472cedf9564e516 (diff)
downloadmeta-openembedded-efc78dfed0aac1afbb163df41251de603a85e72a.tar.gz
devecot: set dovecot.conf file mode with chmod
The touch command doesn't support file mode setting. Set it with chmod. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 4b306f382f4cf133308c7eb4b056a755f5bc4c96) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
-rw-r--r--meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb b/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb
index d8c483191f..451edef9a0 100644
--- a/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb
+++ b/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb
@@ -55,7 +55,8 @@ SYSTEMD_AUTO_ENABLE = "disable"
55 55
56do_install:append () { 56do_install:append () {
57 install -d 755 ${D}/etc/dovecot 57 install -d 755 ${D}/etc/dovecot
58 touch 644 ${D}/etc/dovecot/dovecot.conf 58 touch ${D}/etc/dovecot/dovecot.conf
59 chmod 644 ${D}/etc/dovecot/dovecot.conf
59 install -m 0644 ${WORKDIR}/dovecot.service ${D}${systemd_unitdir}/system 60 install -m 0644 ${WORKDIR}/dovecot.service ${D}${systemd_unitdir}/system
60 sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service 61 sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service
61 sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service 62 sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service