mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
samba: update systemd service files
Update systemd service files of samba. There are no '@BASE_BINDIR@' and '@SBINDIR@' in these service files, so drop the original replacement. Command kill is installed to /bin/kill, then correct in the service files. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
@@ -125,9 +125,7 @@ do_install_append() {
|
|||||||
for i in nmb smb winbind; do
|
for i in nmb smb winbind; do
|
||||||
install -m 0644 packaging/systemd/$i.service ${D}${systemd_unitdir}/system
|
install -m 0644 packaging/systemd/$i.service ${D}${systemd_unitdir}/system
|
||||||
done
|
done
|
||||||
sed -e 's,@BASE_BINDIR@,${base_bindir},g' \
|
sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_unitdir}/system/*.service
|
||||||
-e 's,@SBINDIR@,${sbindir},g' \
|
|
||||||
-i ${D}${systemd_unitdir}/system/*.service
|
|
||||||
|
|
||||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||||
install -m644 packaging/systemd/samba.conf.tmp ${D}${sysconfdir}/tmpfiles.d/samba.conf
|
install -m644 packaging/systemd/samba.conf.tmp ${D}${sysconfdir}/tmpfiles.d/samba.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user