Hi Paul,

On 08/05/2020 21.43, Paul Gevers wrote:
> On 08-05-2020 16:28, Andreas Beckmann wrote:
>> The list of header package dependencies has been updated to be
>> installable on Debian sid/stable/oldstable and is not generated for
>> Ubuntu-based distributions.
> 
> This isn't going to work. The template is generated on the host, so the
> distribution may be different in the testbed.

Hmmpf, if autodep8 can't have distribution specific knowledge, we have
to put that into the distribution. What about:
* dkms splits off an arch:any package dkms-autopkgtest
  - contains the dkms-autopkgtest script
  - maybe contains/creates a flag file to disable dkms autoinstall mode
  - depends (on Debian) on all the kernel headers as in my patch
    (unfortunately src:linux does not provide a metapackage for that)
  - depends (on Ubuntu) on ??? or nothing ???
  - does *not* depend on dkms (because the dkms-autopkgtest script tries
    to remove dkms in order to catch *-dkms packages missing a
    dependency on it
* autodep8 generates a template with
  - Depends: dkms-autopkgtest | dkms (<< 2.8.1-6), dkms

Would that work to trigger autopkgtests on *-dkms whenever src:linux
gets uploaded?


Andreas

PS: Is it theoretically possible to trigger autopkgtests on *-dkms in
sid with linux-headers* pinned to experimental upon an upload of
src:linux to experimental?

Reply via email to