Public bug reported:

It seems that the upstream-2.2.0.1 tag introduced a bug in the script
logic: it replaced these lines:

-    if ! [ -d "$temp_dir_name/dkms_main_tree" ]; then
+    if [[ ! $temp_dir_name/dkms_main_tree ]]; then

This changes a check for the existence of a certain directory with a
check for the non-emptyness of a string. As the string consists of the
concatenation of a variable with a fixed non-empty suffix, the string
will always be non-empty, rendering the whole conditional block which
follows non-operational.

Encountered this on precise as a host system on a parallels desktop
virtual machine. Installing the parallels guest tools reported the
following error in some install log:

Error! No valid dkms.conf in dkms_source_tree or dkms_binaries_only.
/usr/lib/parallels-tools/kmods/prl_mod.tar.gz is not a valid DKMS tarball.

I presume that without this error, parallels drivers would get updated
automatically on kernel upgrades.

I'll propose a bzr branch for merging shortly.

** Affects: dkms (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014789

Title:
  No valid dkms.conf in dkms_source_tree or dkms_binaries_only

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1014789/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to