[yocto] [PATCH 1/2][auh] upgradehelper.py: Display error when git commit fails.

Aníbal Limón anibal.limon at linux.intel.com
Tue Oct 6 13:11:44 PDT 2015


Don't hide error if git commit fails this helps to debug git
problems.

Git commit fail if isn't configured with user name and email.

[YOCTO #8390]

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

diff --git a/upgradehelper.py b/upgradehelper.py
index 31f8f14..b5a8abd 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -427,6 +427,7 @@ class Updater(object):
                     I(" %s: Nothing to commit!" % self.pn)
                     return
 
+            I(" %s: %s" % (self.pn, e.stdout))
             raise e
 
     def _order_list(self, package_list):
-- 
1.9.1




More information about the yocto mailing list