Hi,

Quoting Antoine Beaupré (2024-12-22 22:39:51)
> > In your mind, what should sbuild add to support this?
> >
> > I can only think of one logical implementation and that is to add yet 
> > another
> > mangling/mapping option which expresses equivalence relationships or 
> > aliases of
> > distribution names and if one is requested and the other already exists, 
> > just
> > use that. The problem then is: which extra-args or distro-mangle options do 
> > you
> > apply? Will those be mapped too? Which one will take precedence?
> 
> Why not just use the existing logic from?
> 
> > I: Applied base distribution name mangle rule 
> > s/(?^:^(experimental|rc-buggy|UNRELEASED)$)/unstable/ turning "UNRELEASED" 
> > into "unstable"

that one is for retrieving a base distribution for what is otherwise an
overlay. For example, experimental is an overlay to unstable and
bookworm-backports is an overlay for bookworm. You cannot create a chroot of
bookworm-security -- you have to create a chroot for bookworm and then you can
add the security archive on top. It would be wrong to use a bookworm chroot for
somebody who wants to build for bookworm-backports. So the
UNSHARE_MMDEBSTRAP_DISTRO_MANGLE option cannot be used for this.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to