From: Chris Larson Date: Tue, 16 Jun 2009 19:35:40 +0000 (-0700) Subject: rootfs_ipk.bbclass: add log_check for "Cannot satisfy the following dependencies". X-Git-Tag: Release-2010-05/1~3121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d18b7848a50b94e3f0de4d4b90c05b224a5622c2;p=openembedded.git rootfs_ipk.bbclass: add log_check for "Cannot satisfy the following dependencies". 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 --- diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass index f554e06dfa..99a8ed22c2 100644 --- a/classes/rootfs_ipk.bbclass +++ b/classes/rootfs_ipk.bbclass @@ -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