[oe-commits] [meta-openembedded] 05/05: samba: update systemd service files

git at git.openembedded.org git at git.openembedded.org
Mon Feb 1 15:21:48 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit ac0308309081710716fe24de2ebad80bcdfd3541
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Wed Jan 27 14:30:57 2016 +0800

    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 at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 4 +---
 1 file changed, 1 insertion(+), 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 f6a4c1d..c1b33a5 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
@@ -124,9 +124,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, at BASE_BINDIR@,${base_bindir},g' \
-            -e 's, at 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list