1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

test-dependencies, insane.bbclass: improve the message

(From OE-Core rev: b73e6159aed1a9768d02d12e7894ca0f1e72be69)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa
2014-08-09 18:07:56 +02:00
committed by Richard Purdie
parent f96432d52f
commit a1fa222d48
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -244,9 +244,11 @@ compare_deps() {
else
missing_deps=
for dep in ${max_deps}; do
echo "${min_deps}" | grep -q " ${dep} " || missing_deps="${missing_deps} ${dep}"
echo # to get rid of dots on last line
echo "WARN: ${recipe}: ${package} rdepends on ${dep} but its not a build dependency?" | tee -a ${OUTPUT_FILE}
if ! echo "${min_deps}" | grep -q " ${dep} " ; then
missing_deps="${missing_deps} ${dep}"
echo # to get rid of dots on last line
echo "WARN: ${recipe}: ${package} rdepends on ${dep}, but it isn't a build dependency?" | tee -a ${OUTPUT_FILE}
fi
done
if [ -n "${missing_deps}" ] ; then
echo ${recipe} >> ${OUTPUTC}/failed-recipes.log