← Back to issue list

Update sources added by craft-archives

View original Github issue

Metadata

Project
craft-archives
Number
#151
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
2025-02-04 17:17:38+00:00
Updated
2025-08-14 01:31:28+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### 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: ```yaml 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.

Evaluation history

No evaluation history available.