mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +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>
(cherry picked from commit cc32689a5b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
08759d3ea8
commit
ecc787c764
@@ -142,7 +142,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