File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -27,22 +27,12 @@ jobs:
2727 id : gen
2828 shell : bash
2929 run : |
30-
3130 set -euo pipefail
3231 JSON="output/info/image-info.json"
3332
34- # === Kernel config files to skip (filenames under config/kernel/) ===
35- # Add more entries as needed.
36- SKIP_CONFIGS=(
37- "linux-rockchip-rv1106-vendor.config"
38- )
39-
40- # Convert bash array -> JSON array for jq
41- SKIP_JSON="$(printf '%s\n' "${SKIP_CONFIGS[@]}" | jq -R . | jq -s .)"
42-
4333 tmp="$(mktemp)"
4434
45- jq -c --argjson skip "$SKIP_JSON" '
35+ jq -c '
4636 def norm_branches:
4737 if . == null then []
4838 elif (type=="string") then ( gsub("[,\\s]+";" ") | split(" ") | map(select(length>0)) )
7161 # 4) If multiple boards share same (family,branch), keep smallest board (lexicographic)
7262 | sort_by(.linuxfamily, .branch, .board)
7363 | group_by([.linuxfamily,.branch]) | map(.[0])
74- # 5) Filter out rows whose kernel config filename is in skip list
75- | map(
76- . as $row
77- | ( "linux-" + $row.linuxfamily + "-" + $row.branch + ".config" ) as $fname
78- | select( ($skip | index($fname)) | not )
79- )
8064 ' "$JSON" > "$tmp"
8165
8266 echo "count=$(jq 'length' "$tmp")" >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments