Control: reassign -1 linux-base 4.12 On Thu, 2025-11-27 at 00:56 +0100, Andreas Beckmann wrote: > On 11/25/25 11:38, Andras Korn wrote: > > Package: dkms > > Version: 3.2.2-1 > > > dkms ships a /etc/kernel/header_postinst.d/dkms file, which I suppose is > > expected to run when the linux-headers postinst scripts call: > > > > linux-run-hooks headers postinst $version -- "$@" > > > > However, linux-run-hooks doesn't use /etc/kernel/header_postinst.d, only > > /etc/kernel/headers_postinst.d, so the shipped > > /etc/kernel/header_postinst.d/dkms is never run. > > > > (I verified this by adding --verbose --debug to the run-parts invocation in > > linux-run-hooks.) > > This is an uncommunicated (maybe even unintended) path change on the > src:linux side. Older kernels had this in linux-headers-*.postinst: [...]
This was an unintended change when I reimplemented hook handling in
linux-run-hooks (in linux-base). I just didn't notice that the
directory prefix was previously "header_" and not "headers_" (like the
package names).
Since nothing appears to install a hook in the new directories
(/{etc,usr/share}/kernel/headers_postinst.d) yet, I will change this
back rather than trying to support both.
Ben.
--
Ben Hutchings - Debian developer, member of kernel, installer and LTS
teams
signature.asc
Description: This is a digitally signed message part

