Package: dracut
Version: 106-6
Severity: normal

Dear maintainer,

somewhat related to 1095646, I propose to move the scripts in
kernel/postinst.d and kernel/postrm.d to /usr/lib. From trixie onwards,
the kernel packages don't call run-parts directly anymore, but
linux-run-hooks, which also supports placing hooks in /usr/lib/kernel.

This would allow people who want to use kernel-install to generate a
fresh initrd to disable the postinst.d hook in /etc/kernel without
affecting other users.

If this is not done in an environment using kernel-install, currently
/usr/lib/kernel/install.d/55-initrd.install will copy the generated
initrd into the staging directory where something like ukify would pick
it up and multiple initrds would end up in the final UKI (that's not a
problem with dracut per se, but it's a good example why you would want
to disable the postinst.d hook).

Best,
Cornelius Hoffmann


-- System Information:
Debian Release: 13.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.85+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dracut depends on:
ii  dracut-core  106-6
ii  linux-base   4.12.1

dracut recommends no packages.

Versions of packages dracut suggests:
ii  dracut-network  106-6

-- no debconf information

Reply via email to