[U-Boot] [PATCH 17/21] tools: moveconfig: display log when savedefconfig occurs

Masahiro Yamada yamada.masahiro at socionext.com
Thu May 19 08:52:05 CEST 2016


Now, "make savedefconfig" does not always happen.  Display the log
when it happens.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 tools/moveconfig.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index cb26b14..80542c5 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -681,7 +681,8 @@ class Slot:
             if not updated:
                 self.finish(True)
                 return True
-            """Save off the defconfig in a consistent way"""
+            self.log += color_text(self.options.color, COLOR_LIGHT_GREEN,
+                                   "Syncing by savedefconfig...\n")
             cmd = list(self.make_cmd)
             cmd.append('savedefconfig')
             self.ps = subprocess.Popen(cmd, stdout=self.devnull,
-- 
1.9.1



More information about the U-Boot mailing list