mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
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 4b306f382f)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
@@ -55,7 +55,8 @@ SYSTEMD_AUTO_ENABLE = "disable"
|
||||
|
||||
do_install:append () {
|
||||
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
|
||||
install -m 0644 ${WORKDIR}/dovecot.service ${D}${systemd_unitdir}/system
|
||||
sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service
|
||||
sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service
|
||||
|
||||
Reference in New Issue
Block a user