Quoting Soren Stoutner (2024-11-26 22:24:33) > I can confirm that sbuild 0.87.1 removes the need for my .sbuildrc to contain: > > $unshare_mmdebstrap_auto_create = 0; > > Meaning that it now finds tarballs with all the expected file name > extensions, > unstable-amd64.tar.xz in my case. > > However, my .sbuildrc must still contain: > > $distribution = ‘unstable’; > > Otherwise, sbuild does not find my tarball and instead creates a temporary > one.
Right, but I still don't understand what you want sbuild to ultimately do.
Do you want to force it to use your existing unstable-amd64.tar.xz when you
build for UNRELEASED? If yes, then you have these options:
1. cp ~/.cache/sbuild/unstable-amd64.tar.xz
~/.cache/sbuild/UNRELEASED-amd64.tar.xz
2. ln unstable-amd64.tar.xz ~/.cache/sbuild/UNRELEASED-amd64.tar.xz
But maybe this is an XY problem and maybe you want to do something else. I for
example wonder why you want it to respect your existing tarball instead of
creating it for you. If your tarball has custom modifications, then you can
use $unshare_mmdebstrap_extra_args to let sbuild create a tarball with any
custom modifications you need.
So what is it that you actually want to do?
Thanks!
cheers, josch
signature.asc
Description: signature

