Package: dkms
Version: 2.8.4-3
Followup-For: Bug #1009179

I'd like to also signal that I'm interested in keeping this
functionality around. I looked at the current dkms source and it's not
*that* complicatd. It's basically one (rather big, 100 lines) shell
function which does everything.

Also, it seems to me we should be able to get away with just
replicating mkdsc: once we have a source package, we can use our
normal tools to build the rest...

It looks like it's basically:

    invoke_command "cp -ar '$DEBDIR/' '$temp_dir_debian'" "copying template"
    invoke_command "cp -Lpr '$dkms_tree/$module/$module_version/source' 
'$temp_dir_debian/$module-$module_version'" "Copying source tree"
    invoke_command "dpkg-buildpackage -S -us -uc 1>/dev/null" "Building source 
package" || \

Now obviously, maybe those templates are gone too so we'd need to keep
that up to date, but it seems that's somewhat feasible...

-- System Information:
Debian Release: 11.3
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable'), 
(1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-14-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dkms depends on:
ii  build-essential      12.9
ii  coreutils            8.32-4+b1
ii  dctrl-tools          2.24-3+b1
ii  dpkg-dev             1.20.9
ii  gcc [c-compiler]     4:10.2.1-1
ii  gcc-10 [c-compiler]  10.2.1-6
ii  kmod                 28-1
ii  lsb-release          11.1.0
ii  make                 4.3-4.1
ii  patch                2.7.6-7

Versions of packages dkms recommends:
ii  fakeroot                                     1.25.3-1.1
ii  linux-headers-amd64 [linux-headers-generic]  5.10.113-1
ii  sudo                                         1.9.5p2-3

Versions of packages dkms suggests:
ii  e2fsprogs  1.46.2-2
pn  menu       <none>

-- debconf-show failed

Reply via email to