[Pkg-dkms-maint] Bug#829122: dkms: dh_dkms should enable executable debian/dkms (for use with e.g. dh-exec)

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Jun 30 17:50:55 UTC 2016


Package: dkms
Version: 2.2.0.3-4
Severity: wishlist

other debhelper config files (e.g. debian/install) are potentially
executable, in which case debhelper executes them and treats the
output of the command as the contents of the file.

a simple and common use of this is dh-exec, which can be used to
substitute simple patterns and common variables in the config file.

however, if i make debian/dkms executable and give it the appropriate
shebang line, dh_dkms does not execute the file, it just reads it
directly.

it would be nice to have dh_dkms use the same convention as the rest
of debhelper here.

        --dkg


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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  11.7
ii  coreutils        8.25-2
ii  dpkg-dev         1.18.7
ii  gcc              4:5.3.1-3
ii  kmod             22-1.1
ii  make             4.1-9
ii  patch            2.7.5-1

Versions of packages dkms recommends:
ii  fakeroot             1.20.2-2
ii  linux-headers-amd64  4.6+74
pn  linux-image          <none>
ii  menu                 2.1.47

dkms suggests no packages.

-- debconf-show failed



More information about the Pkg-dkms-maint mailing list