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

Update sources added by craft-archives #151

Open
mr-cal opened this issue Feb 4, 2025 · 2 comments
Open

Update sources added by craft-archives #151

mr-cal opened this issue Feb 4, 2025 · 2 comments
Labels
Enhancement New feature or request

Comments

@mr-cal
Copy link
Contributor

mr-cal commented Feb 4, 2025

What needs to get done

#150 sets architectures for sources in /etc/apt/sources.list.d/ubuntu.sources.

It doesn't set architectures for other repositories added by craft-archives in /etc/apt/sources.list.d/craft-*.sources.

For example, consider the following project file snippet:

platforms:
  riscv64:
    build-on: [amd64]
    build-for: [riscv64]

package-repositories:
  - type: apt
    # architectures: [amd64] - won't this solve the problem?
    formats: [deb]
    components: [main]
    suites: [noble]
    key-id: F23C5A6CF475977595C89F51BA6932366A755776
    url: https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu

  - type: apt
    architectures: [riscv64]
    formats: [deb, deb-src]
    components: [main]
    suites: [noble, noble-updates, noble-backports]
    key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C
    url: http://ports.ubuntu.com/ubuntu-ports

Why it needs to get done

To support cross-compiling in *craft applications.

@mr-cal mr-cal added the Enhancement New feature or request label Feb 4, 2025
Copy link

Thank you for reporting your feedback to us!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-4112.

This message was autogenerated

@mr-cal
Copy link
Contributor Author

mr-cal commented Feb 4, 2025

@tigarmo - this is the follow-up task we talked about on Monday. I'm not sure if I understand the nuance of the problem, but this is my best guess. Let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant