rootfs_ipk.bbclass: add keyword "Collected errors" for log error check

Once ipk meet errors, the log will show "Collected errors:\n xxxx ".
so keyword "Collected errors" is more general to catch errors.

Signed-off-by: Yu Ke <ke.yu@intel.com>
This commit is contained in:
Yu Ke 2010-07-23 17:18:05 +08:00 committed by Richard Purdie
parent 16877ce14b
commit 8658f478b7
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ rootfs_ipk_log_check() {
lf_path="$2"
lf_txt="`cat $lf_path`"
for keyword_die in "Cannot find package" "exit 1" "Cannot satisfy the following dependencies" ERR Fail
for keyword_die in "exit 1" "Collected errors" ERR Fail
do
if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
then