summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-12-23 01:04:36 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-01-19 09:26:15 +0100
commitcc32689a5b55843eeaecda173933fd5f281ec3ff (patch)
treea4db37db4df840c0581401252b9885c5a8021a34 /meta-networking
parent807be0aeed9706f2c8b95340a9b4c391e8513200 (diff)
downloadmeta-openembedded-cc32689a5b55843eeaecda173933fd5f281ec3ff.tar.gz
samba: conditionalize sed call for onnode
| sed: can't read .../4.4.5-r0/image/usr/bin/onnode: No such file or directory Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.4.5.bb4
1 files changed, 3 insertions, 1 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 c2436af4e..a199018c9 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
@@ -151,7 +151,9 @@ do_install_append() {
151 done 151 done
152 152
153 # fix file-rdeps qa warning 153 # fix file-rdeps qa warning
154 sed -i 's:\(#!/bin/\)bash:\1sh:' ${D}${bindir}/onnode 154 if [ -f ${D}${bindir}/onnode ]; then
155 sed -i 's:\(#!/bin/\)bash:\1sh:' ${D}${bindir}/onnode
156 fi
155 157
156 rm -rf ${D}/run ${D}${localstatedir}/run ${D}${localstatedir}/log 158 rm -rf ${D}/run ${D}${localstatedir}/run ${D}${localstatedir}/log
157} 159}