]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_rpm.bbclass: Add additional install error detection
authorMark Hatle <mark.hatle@windriver.com>
Mon, 10 Dec 2012 16:55:03 +0000 (10:55 -0600)
committerSaul Wold <sgw@linux.intel.com>
Fri, 14 Dec 2012 23:17:19 +0000 (15:17 -0800)
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>
meta/classes/package_rpm.bbclass

index cb8e0f42e6371e59e07032b10652db1ec11c37f3..7af1d6c0ccab0b74664ae214a761eee32aac4e94 100644 (file)
@@ -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