From 5b0ff0412017a1e31535d863f9f5343f39b08f90 Mon Sep 17 00:00:00 2001 From: Viacheslav/Slava Tradunsky Date: Mon, 30 Dec 2024 16:32:11 -0500 Subject: [PATCH] packaging: selects docker image target fpr local-build-all.sh (#9767) Signed-off-by: Tradunsky --- packaging/local-build-all.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/local-build-all.sh b/packaging/local-build-all.sh index 12188e796f8..257d265e411 100755 --- a/packaging/local-build-all.sh +++ b/packaging/local-build-all.sh @@ -24,9 +24,10 @@ rm -rf "${PACKAGING_OUTPUT_DIR:?}/*" # Iterate over each target and attempt to build it. # Verify that an RPM or DEB is created. -jq -cr '.linux_targets[]' "$JSON_FILE_NAME" | while read -r DISTRO +jq -cr '.linux_targets[] | .target' "$JSON_FILE_NAME" | while read -r DISTRO + do - echo "$DISTRO" + echo "DISTRO: $DISTRO" FLB_OUT_DIR="$PACKAGING_OUTPUT_DIR" /bin/bash "$SCRIPT_DIR"/build.sh -d "$DISTRO" "$@" if [[ -z $(find "${SCRIPT_DIR}/packages/$DISTRO/$PACKAGING_OUTPUT_DIR/" -type f \( -iname "*-bit-*.rpm" -o -iname "*-bit-*.deb" \) | head -n1) ]]; then echo "Unable to find any binary packages in: ${SCRIPT_DIR}/packages/$DISTRO/$PACKAGING_OUTPUT_DIR"