On Sat, 9 May 2020 00:52:25 +0200 Andreas Beckmann <a...@debian.org> wrote:
> This isn't going to work. The template is generated on the host, so the
> distribution may be different in the testbed.

I'm trying something different now:
* if the dkms-autopkgtest script (which runs in the testbed) does not find any linux-headers-* installed, it will install all linux-header-* packages it can find (via apt-cache search ^linux-headers-) (patch for src:dkms in #945594) * if autodep8 generates an additional dependency on linux-doc (an unversioned meta-package built from src:linux on both Debian and Ubuntu) we would have a nice trigger to recompile the *-dkms modules whenever src:linux changes. It would also allow getting the version of src:linux to be tested and select the linux-headers-* packages to install accordingly.
(I first tried linux-source, but that's handled differently on Ubuntu.)

The linux-doc dependency along with adding some missing restrictions is part of merge request !28. I'm not yet closing this bug, let's first see whether these changes (in dkms and autodep8) once deployed are sufficient to have the dkms autopkg tests working out of the box (i.e. actually building modules).

The ancient dkms-requires-isolation-machine branch should be deleted (part of master).



Andreas

Reply via email to