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:
parent
16877ce14b
commit
8658f478b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue