summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-05-19 15:52:05 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-13 07:46:28 +0900
commitc1c4d0f056f0c0fc8ad6397ad3ad870948d8951e (patch)
treed25ec33b2050fd13822ef04339ed46d40600554e /tools
parent7fb0bacd389b9b041164965d31a8c50e8616f7a0 (diff)
downloadtalos-obmc-uboot-c1c4d0f056f0c0fc8ad6397ad3ad870948d8951e.tar.gz
talos-obmc-uboot-c1c4d0f056f0c0fc8ad6397ad3ad870948d8951e.zip
tools: moveconfig: display log when savedefconfig occurs
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/moveconfig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index e32104412e..9c8ab19f0a 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -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,
OpenPOWER on IntegriCloud