diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:51:24 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:51:24 +0000 |
commit | 01f75c1b48e1a087263427488245c0c79a2f87e3 (patch) | |
tree | fe51a461c32f7be31bafa31e8ccdc1d65ae25396 /meta/classes/rootfs_rpm.bbclass | |
parent | a59f67fdb9077c84f80577aeab5b4cce37539d0d (diff) | |
download | openembedded-core-01f75c1b48e1a087263427488245c0c79a2f87e3.tar.gz openembedded-core-01f75c1b48e1a087263427488245c0c79a2f87e3.tar.bz2 openembedded-core-01f75c1b48e1a087263427488245c0c79a2f87e3.zip |
rootfs_rpm/icecc: Sync whitespace with OE.dev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index dd0257625f..105a1d78a1 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -184,7 +184,7 @@ EOF # remove no longer used yum.conf rm -f ${IMAGE_ROOTFS}/etc/yum.conf - log_check rootfs + log_check rootfs } rootfs_rpm_log_check() { @@ -193,14 +193,14 @@ rootfs_rpm_log_check() { lf_txt="`cat $lf_path`" for keyword_die in "Cannot find package" "exit 1" ERR Fail - do + do if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1 then echo "log_check: There were error messages in the logfile" echo -e "log_check: Matched keyword: [$keyword_die]\n" echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die" echo "" - do_exit=1 + do_exit=1 fi done test "$do_exit" = 1 && exit 1 |