rootfs: reduced console output by default

Use "set -x" only when the user specified DEBUG=1.

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
Dan Mihai 2025-01-13 19:34:05 +00:00
parent 2d9baf899a
commit 0f522c09d9

View File

@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
set -e
set -x
[ -n "$DEBUG" ] && set -x
readonly BUILD_DIR="/kata-containers/tools/packaging/kata-deploy/local-build/build/"
# catch errors and then assign