Hi, Quoting Benjamin Drung (2026-06-23 18:30:56) > Instead of tweaking the sources list, it would be nice if mmdebstrap could be > instructed which suites should be enabled. > > Calling `mmdebstrap resolute resolute.tar` creates /etc/apt/sources.list > with: > > ``` > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] > http://archive.ubuntu.com/ubuntu resolute main > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] > http://archive.ubuntu.com/ubuntu resolute-updates main > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] > http://security.ubuntu.com/ubuntu resolute-security main > ``` > > I propose taking a --suites parameter to tweak the suites (similar to > the --components paramater): > > ``` > mmdebstrap --suites="%s %s-updates %s-proposed %s-security" resolute > resolute.tar > ``` > > would result in: > > ``` > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] > http://archive.ubuntu.com/ubuntu resolute main > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] > http://archive.ubuntu.com/ubuntu resolute-updates main > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] > http://archive.ubuntu.com/ubuntu resolute-proposed main > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] > http://security.ubuntu.com/ubuntu resolute-security main > ```
I don't think a --suites parameter would fix this problem because you want "resolute-security" with a different mirror security.ubuntu.com. I think what we want here is a better distro-info-data-extra which we can tell "I want the defaults for Ubuntu Resolute" and it would give you above list of mirror URLs, suites and signed-by, no? Thanks! cheers, josch
signature.asc
Description: signature

