devecot: set dovecot.conf file mode with chmod
PATCH 1/1 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 <[email protected]>
--- meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb +2 -1
@@ -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
Signature · 1 line
2.25.1