Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for architectures in deb source file #2640

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

schaefi
Copy link
Collaborator

@schaefi schaefi commented Sep 9, 2024

When apt resolves packages on a multiarch repo it can happen that dependencies for packages from other architectures are pulled into the solver process but are not provided by any repository. To overcome this behavior the repository can be setup to serve packages only for a specified architecture or list of architectures. This is related to
OSInside/kiwi-descriptions#102

@schaefi schaefi requested a review from IsaacJT September 9, 2024 08:52
@schaefi schaefi self-assigned this Sep 9, 2024
@schaefi
Copy link
Collaborator Author

schaefi commented Sep 9, 2024

@IsaacJT it would be great if you can give this PR a review. auto generated code from xml_parse.py and kiwi.rng can be ignored.

Thanks much

When apt resolves packages on a multiarch repo it can happen
that dependencies for packages from other architectures are
pulled into the solver process but are not provided by any
repository. To overcome this behavior the repository can
be setup to serve packages only for a specified architecture
or list of architectures. This is related to
OSInside/kiwi-descriptions#102
@schaefi schaefi force-pushed the allow_debian_repo_architectures branch from cc45ce4 to 3e5023e Compare September 9, 2024 09:03
@IsaacJT
Copy link
Collaborator

IsaacJT commented Sep 9, 2024

LGTM! Thanks @schaefi

Specifying multiple and singular architectures work:

Types: deb
URIs: http://deb.debian.org/debian
Architectures: amd64
Suites: bookworm-backports
Components: main contrib non-free non-free-firmware
trusted: yes
check-valid-until: no
Types: deb
URIs: http://deb.debian.org/debian
Architectures: amd64 arm64
Suites: bookworm
Components: main contrib non-free non-free-firmware
trusted: yes
check-valid-until: no

@schaefi schaefi merged commit 11c2c23 into main Sep 9, 2024
12 checks passed
@schaefi schaefi deleted the allow_debian_repo_architectures branch September 9, 2024 13:24
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.

2 participants