From d18b7848a50b94e3f0de4d4b90c05b224a5622c2 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 16 Jun 2009 12:35:40 -0700 Subject: 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 --- classes/rootfs_ipk.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes/rootfs_ipk.bbclass') 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 -- cgit 1.2.3-korg