All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] samba: update systemd service files
@ 2016-01-27  6:30 kai.kang
  2016-02-18  9:39 ` Kang Kai
  0 siblings, 1 reply; 3+ messages in thread
From: kai.kang @ 2016-01-27  6:30 UTC (permalink / raw)
  To: openembedded-devel

From: Kai Kang <kai.kang@windriver.com>

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>
---
 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 a51d31f..2e3f118 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
@@ -112,9 +112,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
 	echo "d ${localstatedir}/log/samba 0755 root root -" \
-- 
2.6.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-networking][PATCH] samba: update systemd service files
  2016-01-27  6:30 [meta-networking][PATCH] samba: update systemd service files kai.kang
@ 2016-02-18  9:39 ` Kang Kai
  2016-02-25  7:36   ` Kang Kai
  0 siblings, 1 reply; 3+ messages in thread
From: Kang Kai @ 2016-02-18  9:39 UTC (permalink / raw)
  To: openembedded-devel

On 2016年01月27日 14:30, kai.kang@windriver.com wrote:
> From: Kai Kang <kai.kang@windriver.com>
>
> 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.

Ping.

--Kai

>
> Signed-off-by: Kai Kang <kai.kang@windriver.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 a51d31f..2e3f118 100644
> --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
> +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
> @@ -112,9 +112,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
>   	echo "d ${localstatedir}/log/samba 0755 root root -" \


-- 
Regards,
Neil | Kai Kang



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-networking][PATCH] samba: update systemd service files
  2016-02-18  9:39 ` Kang Kai
@ 2016-02-25  7:36   ` Kang Kai
  0 siblings, 0 replies; 3+ messages in thread
From: Kang Kai @ 2016-02-25  7:36 UTC (permalink / raw)
  To: openembedded-devel

On 2016年02月18日 17:39, Kang Kai wrote:
> On 2016年01月27日 14:30, kai.kang@windriver.com wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> 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.
>
> Ping.

Ping.

>
> --Kai
>
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.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 a51d31f..2e3f118 100644
>> --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
>> +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
>> @@ -112,9 +112,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
>>       echo "d ${localstatedir}/log/samba 0755 root root -" \
>
>


-- 
Regards,
Neil | Kai Kang



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-25  7:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27  6:30 [meta-networking][PATCH] samba: update systemd service files kai.kang
2016-02-18  9:39 ` Kang Kai
2016-02-25  7:36   ` Kang Kai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.