[yocto] [PATCH 06/11][auh] upgradehelper.py: Add specific information about machines build succeed.

Aníbal Limón anibal.limon at linux.intel.com
Wed Jun 10 09:28:47 PDT 2015


Use build machines in email to maintainers instead of put that the build
succeed in major arch's, this give to the maintainer non ambiguos info.

[YOCTO #7489]

Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
 upgradehelper.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/upgradehelper.py b/upgradehelper.py
index 953f86e..266435d 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -365,7 +365,7 @@ class Updater(object):
                 "variable in the recipe if is needed.\n\n"
 
             next_steps_info = \
-                "The recipe has been successfully compiled for all major architectures.\n\n" \
+                "The recipe has been successfully compiled for machines %s.\n\n" \
                 "Next steps:\n" \
                 "    - apply the patch: git am %s\n" \
                 "    - check that required patches have not been removed from the recipe\n" \
@@ -401,7 +401,8 @@ class Updater(object):
                 msg_body += license_change_info % license_diff_fn
 
             if err is None:
-                msg_body += next_steps_info % os.path.basename(self.patch_file)
+                msg_body += next_steps_info % (', '.join(self.machines),
+                        os.path.basename(self.patch_file))
 
             msg_body += mail_footer
 
-- 
1.8.4.5




More information about the yocto mailing list