mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +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
|
done
|
||||||
|
|
||||||
# fix file-rdeps qa warning
|
# 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
|
rm -rf ${D}/run ${D}${localstatedir}/run ${D}${localstatedir}/log
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user