Skip to content

Commit 5b0ff04

Browse files
authored
packaging: selects docker image target fpr local-build-all.sh (#9767)
Signed-off-by: Tradunsky <[email protected]>
1 parent d1dfd83 commit 5b0ff04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packaging/local-build-all.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ rm -rf "${PACKAGING_OUTPUT_DIR:?}/*"
2424

2525
# Iterate over each target and attempt to build it.
2626
# Verify that an RPM or DEB is created.
27-
jq -cr '.linux_targets[]' "$JSON_FILE_NAME" | while read -r DISTRO
27+
jq -cr '.linux_targets[] | .target' "$JSON_FILE_NAME" | while read -r DISTRO
28+
2829
do
29-
echo "$DISTRO"
30+
echo "DISTRO: $DISTRO"
3031
FLB_OUT_DIR="$PACKAGING_OUTPUT_DIR" /bin/bash "$SCRIPT_DIR"/build.sh -d "$DISTRO" "$@"
3132
if [[ -z $(find "${SCRIPT_DIR}/packages/$DISTRO/$PACKAGING_OUTPUT_DIR/" -type f \( -iname "*-bit-*.rpm" -o -iname "*-bit-*.deb" \) | head -n1) ]]; then
3233
echo "Unable to find any binary packages in: ${SCRIPT_DIR}/packages/$DISTRO/$PACKAGING_OUTPUT_DIR"

0 commit comments

Comments
 (0)