Skip to content

Commit c133a7d

Browse files
igorpecovnikrpardini
authored andcommitted
Revert "Implement option to skip certain kernel configs that don't want to play along"
This reverts commit 73a43c9.
1 parent 7734c00 commit c133a7d

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/rewrite-kernel-configs.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff 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)) )
@@ -71,12 +61,6 @@ jobs:
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"

0 commit comments

Comments
 (0)