-
Committer:
Martin Pitt
-
Date:
2012-05-22 16:17:29 UTC
-
Revision ID:
martin.pitt@canonical.com-20120522161729-265k7zgknyzrnkpq
* Add Modaliases: package header, so that ubuntu-drivers-common, PackageKit,
and aptdaemon can pick up this package automatically when a covered piece
of hardware is installed:
- Add debian/gen-modaliases: Generate a dh_modalias input file covering
all modaliases from all modules from the currently running kernel which
need any firmware shipped by this package.
- debian/rules: Add debian/linux-firmware-nonfree.modaliases target, which
calls gen-modaliases. This should be called whenever new firmware
gets added to this package, and occasionally for new kernels. It uses
the system installed modules, though; fixing this to work on buildds
would be highly welcome.
- Add debian/linux-firmware-nonfree.modaliases: Result for current
Ubuntu Quantal kernel 3.4.0-2-generic, generated by the rule above.
- debian/control, debian/rules: Call dh_modaliases to insert the
modaliases into the package header. Add dh-modaliases build dependency.