On Mon, 05 Aug 2019 at 10:11:07 +0200, David Kalnischkies wrote: > On Mon, Jul 29, 2019 at 08:01:47AM +0100, Simon McVittie wrote: > > sbuild also uses aptitude instead of apt (for its more-backports-friendly > > resolver) in some configurations, and that doesn't have --with-source. > > JFTR: aptitude (and all other libapt-based frontends) can make use of > that feature via the config option APT::Sources::With, the commandline > flag is just syntactic sugar. > > So, as aptitude has I think -o you could e.g. say > -o APT::Sources::With::=/path/to/file.deb > or if all else fails a config file of course.
Thanks, I'll try this. This might provide a way to teach piuparts and autopkgtest how to test proposed packages for experimental and -backports without having to know ahead of time which dependencies need to come from the overlay. smcv