summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-07-22 16:19:56 +0100
committerJoshua Lock <josh@linux.intel.com>2010-07-22 17:04:39 +0100
commit0d18597ae768b8d46df55c069a0e90f69a346898 (patch)
tree24bea250ffefe96356ca675d36dbb10595034b3d /meta/classes
parentc017d0eeb98913d6041566d64df31cda637e2d5f (diff)
downloadopenembedded-core-0d18597ae768b8d46df55c069a0e90f69a346898.tar.gz
openembedded-core-0d18597ae768b8d46df55c069a0e90f69a346898.tar.bz2
openembedded-core-0d18597ae768b8d46df55c069a0e90f69a346898.zip
rootfs_ipk: error when dependencies cannot be satisfied
Per bpo#109 dependency failure during rootfs generation did not cause an error despite that it would cause errors later on in the process. This patch updates the key phrases searched for in the log checking function. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index fa0764baf7..be42192009 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" ERR Fail
+ for keyword_die in "Cannot find package" "exit 1" "Cannot satisfy the following dependencies" ERR Fail
do
if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
then