Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added board-images/nanopi-m6v2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions release-targets/reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,15 @@ boards:
uses: "nanopct6-lts"
branch: "current"
file_extension: "img.xz"

- board_slug: "nanopi-m6v2"
board_name: "NanoPi M6 V2"
board_vendor: "friendlyelec"
board_support: "conf"
board_introduced: "2026"

# The magic: reuse artifact set. The M6V2 has no dedicated build - it ships
# on the unified "nanopi6-series" image (R6S/R6C/M6/M6V2), see armbian/build#10442.
uses: "nanopi6-series"
branch: "current,vendor"
file_extension: "img.xz"
6 changes: 4 additions & 2 deletions scripts/generate-armbian-images-json.sh
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,10 @@ cat "$tmpdir/a.txt" "$tmpdir/bcd.txt" >"$feed"
branch_filter="${REUSABLE_BOARD_BRANCH[$reusable_slug]:-}"
ext_filter="${REUSABLE_BOARD_EXT[$reusable_slug]:-}"

# Apply branch filter if specified
if [[ -n "$branch_filter" && "$BRANCH" != "$branch_filter" ]]; then
# Apply branch filter if specified. Accepts a comma-separated list
# (e.g. "current,vendor") — include the image if its branch is any of
# them. A single value keeps its original exact-match behaviour.
if [[ -n "$branch_filter" && ",${branch_filter//[[:space:]]/}," != *",${BRANCH},"* ]]; then
continue
fi

Expand Down
Loading