[pkg-nvidia-devel] nvidia-kernel-modules - one package for building modules for both i386 and amd64

Andreas Beckmann debian at abeckmann.de
Sun Apr 11 16:22:14 UTC 2010


Hi Russ,

I just tried and extended nvidia-kernel-modules-i386 to support building
modules for both i386 amd amd64 from a single package (the set of
packages of course depends on the architecture where the build is
happening).

I also tried and successfully built the modules for all flavors of
2.6.32-4 currently available in unstable - including openvz, vserver,
xen. I'm not sure whether these modules actually work (e.g. the one for
xen-686, can't test this since I'm not using any flavor besides amd64
[amd64]), but if they do, we can close all the
there-is-no-module-for-my-favorite-xen-kernel bugs.
There were no patches needed to get the modules compile for the xen flavors.

Since there are now 12 flavors in total I really recommend having a
generatable debian/control - so changing the flavor list is trivial
since there is no need to care for properly updating debian/control
manually - especially when there is a flavor with the same name for both
i386 and amd64 (flavor 'amd64') that requires Architecture: i386 amd64

changelog:

  * create a common module building package for i386 and amd64
  * rename source package to nvidia-graphics-modules
  * move configurable settings from debian/rules to debian/rules.defs
  * add debian/control.source and debian/control.flavor as templates for
    generating debian/control
  * debian/rules: add debian/control-real target to update
debian/control and
    debian/control.md5sum
  * build modules for more flavors: openvz, vserver, xen
  * the following flavors are being built now:
    - i386: 486, 686, 686-bigmem, amd64, openvz-686, vserver-686,
      vserver-686-bigmem, xen-686
    - amd64: amd64, openvz-amd64, vserver-amd64, xen-amd64


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-graphics-modules_190.53+1+nmu2.tar.gz
Type: application/x-gzip
Size: 6386 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20100411/01b28dc5/attachment-0001.bin>


More information about the Pkg-nvidia-devel mailing list