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>
This commit is contained in:
Joshua Lock 2010-07-22 16:19:56 +01:00
parent c017d0eeb9
commit 0d18597ae7
1 changed files with 1 additions and 1 deletions

View File

@ -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