[oe-commits] Chris Larson : rootfs_ipk.bbclass: add log_check for " Cannot satisfy the following dependencies".

git version control git at git.openembedded.org
Wed Jun 17 18:48:36 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d18b7848a50b94e3f0de4d4b90c05b224a5622c2
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d18b7848a50b94e3f0de4d4b90c05b224a5622c2

Author: Chris Larson <clarson at mvista.com>
Date:   Tue Jun 16 12:35:40 2009 -0700

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 <clarson at mvista.com>

---

 classes/rootfs_ipk.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index f554e06..99a8ed2 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





More information about the Openembedded-commits mailing list