summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2024-06-28 14:06:44 +0800
committerKhem Raj <raj.khem@gmail.com>2024-06-28 11:22:06 -0700
commit4b306f382f4cf133308c7eb4b056a755f5bc4c96 (patch)
tree98f9a9a6386a1ccb6df1ba672cb680ed6715a6f3 /meta-networking
parentbe59cf4cb56ddb2d31a8f14f74eeda805168f538 (diff)
downloadmeta-openembedded-4b306f382f4cf133308c7eb4b056a755f5bc4c96.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>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb b/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb
index 2f887e6018..4e76d24526 100644
--- a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb
+++ b/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb
@@ -50,7 +50,8 @@ SYSTEMD_AUTO_ENABLE = "disable"
50do_install:append () { 50do_install:append () {
51 rm -rf ${D}${libdir}/dovecot/dovecot-config 51 rm -rf ${D}${libdir}/dovecot/dovecot-config
52 install -d 755 ${D}/etc/dovecot 52 install -d 755 ${D}/etc/dovecot
53 touch 644 ${D}/etc/dovecot/dovecot.conf 53 touch ${D}/etc/dovecot/dovecot.conf
54 chmod 644 ${D}/etc/dovecot/dovecot.conf
54 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then 55 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then
55 install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system 56 install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system
56 sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service 57 sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service