From 4b306f382f4cf133308c7eb4b056a755f5bc4c96 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Fri, 28 Jun 2024 14:06:44 +0800 Subject: 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 Signed-off-by: Khem Raj --- meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-networking') 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" do_install:append () { rm -rf ${D}${libdir}/dovecot/dovecot-config install -d 755 ${D}/etc/dovecot - touch 644 ${D}/etc/dovecot/dovecot.conf + touch ${D}/etc/dovecot/dovecot.conf + chmod 644 ${D}/etc/dovecot/dovecot.conf if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service -- cgit v1.2.3-54-g00ecf