commands: PushImages, log --buildroot.

PushImages invokes the pushimage script as a function call, not an
external script, and wasn't logging all command line options that
would have been passed to it.


Change-Id: I07f3254dea9f2d58a41f66b55f200fc7d06d28b2
Commit-Ready: ChromeOS CL Exonerator Bot <>
Tested-by: Don Garrett <>
Reviewed-by: Alec Thilenius <>
diff --git a/cbuildbot/ b/cbuildbot/
index 93f19bb..cae7929 100644
--- a/cbuildbot/
+++ b/cbuildbot/
@@ -2271,6 +2271,9 @@
   if sign_types:
     log_cmd.append('--sign-types=%s' % ' '.join(sign_types))
+  if buildroot:
+    log_cmd.append('--buildroot=%s' % buildroot)
   log_cmd.append(archive_url)'Running: %s', cros_build_lib.CmdToStr(log_cmd))