Skip to content

feat: support target architectures on subpackages#2501

Open
officialasishkumar wants to merge 1 commit into
chainguard-dev:mainfrom
officialasishkumar:feat/subpackage-target-architecture
Open

feat: support target architectures on subpackages#2501
officialasishkumar wants to merge 1 commit into
chainguard-dev:mainfrom
officialasishkumar:feat/subpackage-target-architecture

Conversation

@officialasishkumar
Copy link
Copy Markdown

Melange Pull Request Template

Functional Changes

  • This change can build all of Wolfi without errors (describe results in notes)

Notes:
Adds subpackage-level target-architecture support so build and test skip subpackages that are not meant for the current architecture. Subpackages with no target list keep existing behavior, and target-architecture: [all] remains unrestricted. This closes #2444.

Validation:

  • go test ./pkg/config ./pkg/build
  • go test ./...

Wolfi-wide build was not run locally.

SCA Changes

  • Examining several representative APKs show no regression / the desired effect (details in notes)

Notes:
Not an SCA behavior change.

Linter

  • The new check is clean across Wolfi
  • The new check is opt-in or a warning

Notes:
Not a linter change.

@officialasishkumar officialasishkumar force-pushed the feat/subpackage-target-architecture branch from 2c34e43 to 5edb4ea Compare April 23, 2026 20:47
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
@officialasishkumar officialasishkumar force-pushed the feat/subpackage-target-architecture branch from 5edb4ea to 8d47642 Compare April 23, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

We should have target-archtiecutre for subpackages

1 participant