spiegel_podman/cmd
Lokesh Mandvekar 8e9271e765
Fix podman-remote build output not being displayed
(cherry picked from commit ec8e61e60a)

The podman-remote build command was not displaying build output, causing
remotesystem tests to fail when expecting output like "COMMIT", "cache",
"Successfully built", etc.

Root causes:
1. BuildOptions.Out was set to nil when no --logfile was specified,
   causing all build output to be discarded
2. BuildOptions.Err was not set, preventing auxiliary build output
   from being displayed

Changes:
- Set Out and Err to default to os.Stdout and os.Stderr respectively
- Both redirect to logfile when --logfile is specified
- Remove incorrect client-side quiet flag handling (already handled
  by build engine via Quiet option)

This matches the behavior of the non-remote build implementation in
build.go and ensures build output is properly streamed from the server
through the bindings to the client's stdout/stderr.

Fixes test failures in make remotesystem for build-related tests.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-03-30 15:13:32 -04:00
..
podman Fix podman-remote build output not being displayed 2026-03-30 15:13:32 -04:00
podman-mac-helper Fix spelling "read only" -> "read-only" 2022-07-02 08:37:43 +02:00
rootlessport cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00