Conversation
127b80b to
8e9ec3a
Compare
|
This is not very large, but it's very specialised to Debian. The canonical way to do this is to just put these files into a package tree, since we can't really add options for everything a package manager does into mkosi itself. |
Well yes, it fixes a Debian-specific issue in a Debian-specific source file. Though theoretically the same issue impacts Ubuntu. It may be reasonable to refactor the apt repository handling code further to extract common code in such a way that it can be shared between
The existence of #1755 suggests that this is desirable functionality to have in mkosi. Configuring the package manager to retrieve directly from a repository avoids a number of potential issues with package trees (stale packages, missing dependencies, etc). |
|
brilliant! I need this. |
Maybe I've been a bit unclear earlier, because I used an older term no longer used in our docs, but is there a reason you can't use a |
Yes, we can certainly work around the limitation as you describe. But I wonder if that's the intended answer to #1755? It seems from there that there was a desire to have native support for apt suites within mkosi. If things have changed and that's no longer considered in scope, that's fine, but it would be good to note that in the issue. |
This is a proposed solution to the ability to specify a repository suite in the Debian configuration, in addition to the components currently specified. The optional suite is specified as a prefix to the component name in the
Repositories=config setting, e.g.The
trixie-backports:lines above would generate the following content in the resultingtrixie.sourcesfile:Fixes #1755