[oe-commits] Mark Hatle : package_rpm.bbclass: Add additional install error detection
git at git.openembedded.org
git at git.openembedded.org
Mon Dec 17 17:26:48 UTC 2012
Module: openembedded-core.git
Branch: master-next
Commit: 230068110e1cda349f9bf3886d8d06ac46deea37
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=230068110e1cda349f9bf3886d8d06ac46deea37
Author: Mark Hatle <mark.hatle at windriver.com>
Date: Mon Dec 10 10:55:03 2012 -0600
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 at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/classes/package_rpm.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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
More information about the Openembedded-commits
mailing list