diff options
author | Kai Kang <kai.kang@windriver.com> | 2016-01-27 14:30:57 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-02-29 16:23:34 -0500 |
commit | 038a0031a4f73ffad2a165134ee35fa61748a244 (patch) | |
tree | 86f08b5e4852eaf23841ef730d8d8722406c3820 /meta-networking | |
parent | 1dc17cc4ad54d6b8af7639ca9d4abf648a82608b (diff) | |
download | meta-openembedded-038a0031a4f73ffad2a165134ee35fa61748a244.tar.gz |
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>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb index 62cd66121..3bcc1b9dd 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | |||
@@ -125,9 +125,7 @@ do_install_append() { | |||
125 | for i in nmb smb winbind; do | 125 | for i in nmb smb winbind; do |
126 | install -m 0644 packaging/systemd/$i.service ${D}${systemd_unitdir}/system | 126 | install -m 0644 packaging/systemd/$i.service ${D}${systemd_unitdir}/system |
127 | done | 127 | done |
128 | sed -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 128 | sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_unitdir}/system/*.service |
129 | -e 's,@SBINDIR@,${sbindir},g' \ | ||
130 | -i ${D}${systemd_unitdir}/system/*.service | ||
131 | 129 | ||
132 | install -d ${D}${sysconfdir}/tmpfiles.d | 130 | install -d ${D}${sysconfdir}/tmpfiles.d |
133 | install -m644 packaging/systemd/samba.conf.tmp ${D}${sysconfdir}/tmpfiles.d/samba.conf | 131 | install -m644 packaging/systemd/samba.conf.tmp ${D}${sysconfdir}/tmpfiles.d/samba.conf |