[Pkg-dkms-maint] Bug#554843: Bug#554843: Hmm... I take that back :)
Michael Gilbert
michael.s.gilbert at gmail.com
Tue Aug 24 03:37:35 UTC 2010
On Fri, 20 Aug 2010 15:31:36 -0500 Bill Gatliff wrote:
> Guys:
>
>
> Seems I'm confused... Well, I *am* confused, I'm just not sure where
> the confusion is coming from... :)
>
> I took a look at the psb-kernel-source-4.41.1.dkms.tar.gz file, and it
> looks like this:
>
> $ dpkg --extract
> /var/lib/dkms/psb-kernel-source/4.41.1/deb/psb-kernel-source-dkms_4.41.1_all.deb
> .
> $ cd usr/src
> $ tar xzvf psb-kernel-source-4.41.1.dkms.tar.gz
> ./dkms_main_tree/
> ./dkms_main_tree/dkms_dbversion
> ./dkms_main_tree/2.6.28.10-a1rvc/
> ./dkms_main_tree/2.6.28.10-a1rvc/i686/
> ./dkms_main_tree/2.6.28.10-a1rvc/i686/module/
> ./dkms_main_tree/2.6.28.10-a1rvc/i686/module/drm.ko
> ./dkms_main_tree/2.6.28.10-a1rvc/i686/module/psb.ko
> ./dkms_main_tree/2.6.28.10-a1rvc/i686/log/
> ./dkms_main_tree/2.6.28.10-a1rvc/i686/log/make.log
> ...
>
> So the package file *does* indeed contain prebuilt, kernel-specific
> modules as I had hoped. Of course, it also contains a big pile of
> source code that I don't need, but it looks like --binaries-only
> command line option to dkms will fix that.
>
> Unfortunately, when I do:
>
> $ sudo dkms -m psb-kernel-source -v 4.41.1 -k `uname -r`
> --binaries-only mkdeb mkdsc
> $ sudo dpkg --install
> /var/lib/dkms/psb-kernel-source/4.41.1/deb/psb-kernel-source-dkms_4.41.1_all.deb
>
> (Reading database ... 65369 files and directories currently installed.)
> Preparing to replace psb-kernel-source-dkms 4.41.1 (using
> .../psb-kernel-source-dkms_4.41.1_all.deb) ...
> Unpacking replacement psb-kernel-source-dkms ...
> Setting up psb-kernel-source-dkms (4.41.1) ...
> Removing old psb-kernel-source-4.41.1 DKMS files...
> Loading new psb-kernel-source-4.41.1 DKMS files...
>
> Error! Tarball is a DKMS binaries-only archive, but your DKMS tree
> does not have the source installed for psb-kernel-source-4.41.1.
> To load a DKMS binaries-only archive, you must already have the module
> source in your DKMS tree.
>
> This can be overridden by using --force, but this is not recommended since
> it will eliminate your ability to actually build for this module.
> dpkg: error processing psb-kernel-source-dkms (--install):
> subprocess post-installation script returned error exit status 6
> Errors were encountered while processing:
> psb-kernel-source-dkms
>
>
>
> If I already have the pre-built binaries, why do I need the sources
> for them? The target machine has no need for the source code. Oh,
> and I don't know which --force I should be using...
this looks like an issue with the way the mkdeb feature is currently
designed. it can definately be improved, and i'll take a look at that
at some point, but it won't get into squeeze at this point.
mike
More information about the Pkg-dkms-maint
mailing list