aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-12-10 10:55:03 -0600
committerSaul Wold <sgw@linux.intel.com>2012-12-14 15:17:19 -0800
commit230068110e1cda349f9bf3886d8d06ac46deea37 (patch)
treed6301a63645e793d980aa40c935b49e00aa1aa57 /meta/classes/package_rpm.bbclass
parent140750f9c334ba9abb1f5c89fc28ef9b866c605b (diff)
downloadopenembedded-core-230068110e1cda349f9bf3886d8d06ac46deea37.tar.gz
package_rpm.bbclass: Add additional install error detection
There is a condition where the package will fail to install, but smart does not capture the error. Add the error string to the scan list. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index cb8e0f42e6..7af1d6c0cc 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -57,7 +57,7 @@ rpm_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 "unpacking of archive failed" "Cannot find package" "exit 1" ERR Fail
do
if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
then