Comment 0 for bug 1489045

Revision history for this message
Martin Pitt (pitti) wrote :

The kernel team has requested that we run DKMS tests via autopkgtests for precise and trusty the same way that we now do for vivid and upwards. For this we need to backport debian/scripts/dkms-autopkgtest from https://launchpad.net/ubuntu/+source/dkms/2.2.0.3-2ubuntu1.

TEST CASE:
 Run autopkgtest for a DKMS package:

   adt-run bcmwl --- qemu /srv/vm/adt-trusty-amd64-cloud.img # or use a precise image

This currently fails with

   adt-run [15:18:24]: test command1: /usr/lib/dkms/dkms-autopkgtest
   adt-run [15:18:24]: test command1: [-----------------------
   bash: /usr/lib/dkms/dkms-autopkgtest: No such file or directory

With the proposed packages this should work and look more like

Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu4) ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 4.1.0-3-generic
Building for architecture x86_64
Building initial module for 4.1.0-3-generic
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.1.0-3-generic/updates/dkms/

depmod....

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Setting up fakeroot (1.20.2-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up manpages-dev (3.74-1ubuntu1) ...
Processing triggers for initramfs-tools (0.120ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-4.1.0-3-generic
I: Testing binary package bcmwl-kernel-source
I: Testing if bcmwl modules are correctly installed
bcmwl, 6.30.223.248+bdcom, 4.1.0-3-generic, x86_64: installed
adt-run [17:23:43]: test command1: -----------------------]