From patchwork Wed Dec 12 18:31:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3, 09/13] package_rpm.bbclass: Add additional install error detection Date: Wed, 12 Dec 2012 18:31:33 -0000 From: Paul Eggleton X-Patchwork-Id: 40847 Message-Id: To: openembedded-core@lists.openembedded.org From: Mark Hatle 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 --- meta/classes/package_rpm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index cb8e0f4..7af1d6c 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