Open woky opened 2 years ago
see: https://github.com/canonical/chisel/pull/19#discussion_r944278049 as a reference request for implementation
Would it be in the scope of chisel to suport a debian (or any other debian base distro) ?
Something like:
format: chisel-v1
archives:
debian:
uri: "http://archive.debian.org/debian/"
suite: bookworm
components: [main, universe]
arch: [amd64, i386]
@endersonmaia I'm afraid not, at least not for now. The initial support for multiple archives will only target Ubuntu archives.
Currently chisel fetches only from single suite archive. For example for jammy, in
sources.list
that would look like:https://github.com/canonical/chisel/pull/19 adds support for
-updates
and-security
but this is not general solution. We should follow Debian RFC822 control data format for sources[1] and instead specify archives inchisel.yaml
like so:With this we will only have to change the parser and few references to release variables and keep most of
archive.go
as it is.[1] https://manpages.debian.org/testing/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT