[YOCTO #8962] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- upgradehelper.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/upgradehelper.py b/upgradehelper.py index 41f81c1..be4282f 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -440,7 +440,11 @@ class Updater(object): to_list = settings["status_recipients"].split() - subject = "[AUH] Upgrade status: " + date.isoformat(date.today()) + if self.opts['layer_mode'] == 'yes': + subject = "[AUH] Upgrade status %s: %s" \ + % (self.opts['layer_name'], date.isoformat(date.today())) + else: + subject = "[AUH] Upgrade status: " + date.isoformat(date.today()) if self.statistics.total_attempted: self.email_handler.send_email(to_list, subject, statistics_summary) -- 2.1.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto