]> git.sur5r.net Git - u-boot/commitdiff
tools: moveconfig: display log when savedefconfig occurs
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 19 May 2016 06:52:05 +0000 (15:52 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 12 Jun 2016 22:46:28 +0000 (07:46 +0900)
Now, "make savedefconfig" does not always happen.  Display the log
when it happens.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
tools/moveconfig.py

index e32104412e14e0b1c1f97a032be74f7aa6ac09dd..9c8ab19f0a2942aec31a32cf56576e739da78698 100755 (executable)
@@ -649,7 +649,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,