Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- upgradehelper.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/upgradehelper.py b/upgradehelper.py index a08833e..4f33d2f 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 yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto