diff options
author | Yu Ke <ke.yu@intel.com> | 2010-07-23 17:18:05 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-30 14:50:30 +0100 |
commit | 8658f478b7a75bf756ce7a7f6c3b3f19b1da9292 (patch) | |
tree | 10661271d7dec22055599640827248426cbacf2d /meta/classes/rootfs_ipk.bbclass | |
parent | 16877ce14b9c6b813267e9b1cbf904ccf7b86292 (diff) | |
download | openembedded-core-8658f478b7a75bf756ce7a7f6c3b3f19b1da9292.tar.gz openembedded-core-8658f478b7a75bf756ce7a7f6c3b3f19b1da9292.tar.bz2 openembedded-core-8658f478b7a75bf756ce7a7f6c3b3f19b1da9292.tar.xz openembedded-core-8658f478b7a75bf756ce7a7f6c3b3f19b1da9292.zip |
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>
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index be4219200..0bfa49194 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass @@ -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 |