Package: sbuild X-Debbugs-Cc: samuel...@debian.org Version: 0.87.1 Severity: wishlist
The default for UNSHARE_MMDEBSTRAP_EXTRA_ARGS for backports uses "stable-backports" while backports documentation (and practice) uses $codename-backports. This leads to issues when building packages from backports as the chroot that's created does not come with the backports sources list, the following rule is missed: $unshare_mmdebstrap_extra_args = { 'stable-backports' => [ '--setup-hook=echo "deb http://deb.debian.org/debian stable-backports main" > "$1"/etc/apt/sources.list.d/stable-backports.list' ], }; I would like the default behavior to be smart enough to automatically add the correct backports sources list for any releases, matching *-backports and *-backports-sloppy, and adding the repositories correctly. This would likely have to be done through some other mechanism as I suppose the EXTRA_ARGS approach does not allow the usage of globs and variables (to match any releases without having to hardcode their names). Regards, -- Samuel Henrique <samueloph>