Signed-off-by: Aníbal Limón <[email protected]>
---
upgradehelper.py | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 5bb066a..a3ca373 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -591,7 +591,16 @@ class Updater(object):
self.statistics.update(self.pn, self.new_ver, self.maintainer,
error)
if (attempted_pkgs > 1):
- I("%s" % self.statistics.pkg_stats())
+ statistics_summary = self.statistics.pkg_stats() + \
+ self.statistics.maintainer_stats()
+
+ statistics_file = os.path.join(self.uh_work_dir,
+ "statistics_summary")
+ with open(statistics_file, "w+") as f:
+ f.write(statistics_summary)
+
+ I("%s" % statistics_summary)
+
if self.send_email:
self.send_status_mail()
--
2.1.4
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto