rootfs_ipk.bbclass: add log_check for "Cannot satisfy the following dependencies".
authorChris Larson <clarson@mvista.com>
Tue, 16 Jun 2009 19:35:40 +0000 (12:35 -0700)
committerChris Larson <clarson@mvista.com>
Wed, 17 Jun 2009 18:48:31 +0000 (11:48 -0700)
Fixes a bug pointed out where a missing rdepends of a package installed into
an image wasn't resulting in a failure in the do_rootfs task.

Signed-off-by: Chris Larson <clarson@mvista.com>
classes/rootfs_ipk.bbclass

index f554e06..99a8ed2 100644 (file)
@@ -109,7 +109,8 @@ rootfs_ipk_log_check() {
         lf_path="$2"
 
        lf_txt="`cat $lf_path`"
-       for keyword_die in "Cannot find package" "exit 1" ERR Fail
+       for keyword_die in "Cannot find package" "Cannot satisfy the following dependencies" \
+           "exit 1" ERR Fail
        do                              
                if (echo "$lf_txt" | grep -v log_check | grep -w "$keyword_die") >/dev/null 2>&1
                then