"_" in a module name causes it to not work properly with mkdeb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dkms
Hello,
I try to provide a driver I wrote (details here: http://
I try to use the command "sudo dkms mkdeb --source-only -m nvidia_bl -v 0.51" but I have this output:
">sudo dkms mkdeb --source-only -m nvidia_bl -v 0.51
Using /etc/dkms/
copying template...
modifying debian/changelog...
modifying debian/compat...
modifying debian/control...
modifying debian/copyright...
modifying debian/dirs...
modifying debian/postinst...
modifying debian/prerm...
modifying debian/
modifying debian/rules...
copying legacy postinstall template...
Copying source tree...
Gathering binaries...Marking modules for 2.6.31-16-generic (x86_64) for archiving...
Creating special tarball structure to accomodate only binaries.
Tarball location: /var/lib/
DKMS: mktarball Completed.
Copying DKMS tarball into DKMS tree...
Building binary package.
fakeroot debian/rules clean
debian/rules build
fakeroot debian/rules binary
dpkg-genchanges -b >../nvidia-
dpkg-genchanges: envoi d'un binaire - aucune inclusion de code source
DKMS: mkdeb Completed.
Moving built files to /var/lib/
Cleaning up temporary files...
guillaume@
Using /etc/dkms/
copying template...
modifying debian/changelog...
modifying debian/compat...
modifying debian/control...
modifying debian/copyright...
modifying debian/dirs...
modifying debian/postinst...
modifying debian/prerm...
modifying debian/
modifying debian/rules...
copying legacy postinstall template...
Copying source tree...
Building binary package.
fakeroot debian/rules clean
debian/rules build
fakeroot debian/rules binary
dpkg-genchanges -b >../nvidia-
dpkg-genchanges: envoi d'un binaire - aucune inclusion de code source
DKMS: mkdeb Completed.
Moving built files to /var/lib/
Cleaning up temporary files..."
If I try to install the deb file, it gives :
">sudo dpkg -i nvidia-
Sélection du paquet nvidia-bl-dkms précédemment désélectionné.
(Lecture de la base de données... 166233 fichiers et répertoires déjà installés.)
Dépaquetage de nvidia-bl-dkms (à partir de nvidia-
Paramétrage de nvidia-bl-dkms (0.51) ...
Aucun paquet ne correspond à nvidia_bl-dkms.
Loading new nvidia_
First Installation: checking all kernels...
This package appears to be a binaries-only package
you will not be able to build against kernel 2.6.31-16-generic
since the package source was not provided"
The source are indeed here, in "/usr/src/
If I do a simple "sudo dkms mkdeb --source-only -m nvidia_bl -v 0.51", the binary is installed but the sources are not build for the other kernel version.
I think that something is not triggered in post installation scripts. Any suggestions ?
Best regards.
Guillaume
Related branches
summary: |
- dkms mkdeb --source-only makes a deb file that won't install anything + "_" in a module name causes it to not work properly with mkdeb |
Changed in dkms (Ubuntu): | |
status: | Expired → Triaged |
To correct a mistake at the end of my post: if I do a simple "sudo dkms mkdeb -m nvidia_bl -v 0.51", the binary is installed but the sources are not build for the other kernel versions.
Guillaume