Package: dkms
Version: 2.3-3
Severity: normal
Tags: patch

Hello,

I had an issue with a dkms module, and dkms was only printing me

“
Could not locate dkms.conf file.
File:  does not exist.
”

That is because of a typo, see attached patch.

Samuel

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dkms depends on:
ii  build-essential  12.4
ii  coreutils        8.28-1
ii  dpkg-dev         1.19.0.5
ii  gcc              4:7.2.0-1d1
ii  kmod             25-1
ii  make             4.1-9.1
ii  patch            2.7.6-2

Versions of packages dkms recommends:
ii  fakeroot             1.22-2
ii  linux-headers-amd64  4.15+92
ii  lsb-release          9.20170808
ii  sudo                 1.8.21p2-3

Versions of packages dkms suggests:
ii  menu            2.1.47+b1
pn  python3-apport  <none>

-- no debconf information

-- 
Samuel
"...[Linux's] capacity to talk via any medium except smoke signals."
(By Dr. Greg Wettstein, Roger Maris Cancer Center)
diff --git a/dkms b/dkms
index 160ce3e..09cb465 100644
--- a/dkms
+++ b/dkms
@@ -513,7 +513,7 @@ read_conf()
     [[ $3 ]] && read_conf_file="$3"
 
     [[ -r $read_conf_file ]] || die 4 $"Could not locate dkms.conf file." \
-    $"File: $conf does not exist."
+    $"File: $read_conf_file does not exist."
 
     [[ $last_mvka = $module/$module_version/$1/$2 && \
     $last_mvka_conf = $(readlink -f $read_conf_file) ]] && return

Reply via email to