diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-11-24 13:57:13 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-12-14 09:20:10 -0500 |
commit | 1aedb972bc8818a9315eac1bb1c9597ddb2bab32 (patch) | |
tree | cd52161330dbed7ebe8563ae89c19b91c7b63fc6 /meta-networking | |
parent | 3c55a185cea09612e12afd5924fb95fee223108d (diff) | |
download | meta-openembedded-1aedb972bc8818a9315eac1bb1c9597ddb2bab32.tar.gz |
samba: fix the hardcoded path in init script
Replace the hardcoded path with base_bindir in init
script to fix the error:
/etc/init.d/samba.sh: line 15: /usr/bin/ps: No such file or directory
/etc/init.d/samba.sh: line 17: /usr/bin/sed: No such file or directory
/etc/init.d/samba.sh: line 16: /usr/bin/grep: No such file or directory
Signed-off-by: Jackie Huang <jackie.huang@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.4.5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb index 6890a1863..2034e1fc9 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | |||
@@ -118,6 +118,7 @@ do_install_append() { | |||
118 | -e 's,/opt/samba/smb.conf,${sysconfdir}/samba/smb.conf,g' \ | 118 | -e 's,/opt/samba/smb.conf,${sysconfdir}/samba/smb.conf,g' \ |
119 | -e 's,/opt/samba/log,${localstatedir}/log/samba,g' \ | 119 | -e 's,/opt/samba/log,${localstatedir}/log/samba,g' \ |
120 | -e 's,/etc/init.d/samba.server,${sysconfdir}/init.d/samba.sh,g' \ | 120 | -e 's,/etc/init.d/samba.server,${sysconfdir}/init.d/samba.sh,g' \ |
121 | -e 's,/usr/bin,${base_bindir},g' \ | ||
121 | -i ${D}${sysconfdir}/init.d/samba.sh | 122 | -i ${D}${sysconfdir}/init.d/samba.sh |
122 | fi | 123 | fi |
123 | 124 | ||