From 038a0031a4f73ffad2a165134ee35fa61748a244 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Wed, 27 Jan 2016 14:30:57 +0800 Subject: 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 Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta-networking/recipes-connectivity/samba/samba_4.1.12.bb') 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 62cd661212..3bcc1b9dde 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() { for i in nmb smb winbind; do install -m 0644 packaging/systemd/$i.service ${D}${systemd_unitdir}/system done - sed -e 's,@BASE_BINDIR@,${base_bindir},g' \ - -e 's,@SBINDIR@,${sbindir},g' \ - -i ${D}${systemd_unitdir}/system/*.service + sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_unitdir}/system/*.service install -d ${D}${sysconfdir}/tmpfiles.d install -m644 packaging/systemd/samba.conf.tmp ${D}${sysconfdir}/tmpfiles.d/samba.conf -- cgit 1.2.3-korg