mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-18 15:40:27 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
807be0aeed
commit
cc32689a5b
@@ -151,7 +151,9 @@ do_install_append() {
|
||||
done
|
||||
|
||||
# fix file-rdeps qa warning
|
||||
sed -i 's:\(#!/bin/\)bash:\1sh:' ${D}${bindir}/onnode
|
||||
if [ -f ${D}${bindir}/onnode ]; then
|
||||
sed -i 's:\(#!/bin/\)bash:\1sh:' ${D}${bindir}/onnode
|
||||
fi
|
||||
|
||||
rm -rf ${D}/run ${D}${localstatedir}/run ${D}${localstatedir}/log
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user