File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -416,7 +416,6 @@ recipe_build_docker() {
416416 rm -rf "$BUILD_ROOT/$TOPDIR/SOURCES/repos/UPLOAD"
417417
418418 # create sbom if requested
419- set -x
420419 for format in $(queryconfig --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" buildflags+ sbom | sort -u) ; do
421420 NO_SBOM_FILES_GENERATION=""
422421 if test -n "$(perl -I$BUILD_DIR -MBuild::Docker -e Build::Docker::show -- "$BUILD_ROOT/$TOPDIR/SOURCES/$RECIPEFILE" sbomnofilesgeneration)" ; then
@@ -426,7 +425,6 @@ set -x
426425 generate_sbom --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --arch "$BUILD_ARCH" --format "$format" ${BUILD_BUILDTIME:+--buildtime=$BUILD_BUILDTIME} --container-${archive_format}-archive $NO_SBOM_FILES_GENERATION "$BUILD_ROOT/$TOPDIR/DOCKER/$FILENAME.tar" > "$BUILD_ROOT$TOPDIR/DOCKER/$FILENAME.${format/cyclonedx/cdx}.json" || cleanup_and_exit 1 "generate_sbom failed!"
427426 test -s "$BUILD_ROOT$TOPDIR/DOCKER/$FILENAME.${format/cyclonedx/cdx}.json" || rm -f "$BUILD_ROOT$TOPDIR/DOCKER/$FILENAME.${format/cyclonedx/cdx}.json"
428427 done
429- set +x
430428
431429 # We're done. Clean up.
432430 recipe_cleanup_docker
You can’t perform that action at this time.
0 commit comments