On Sat, 2025-05-03 at 17:40 +0200, Johannes Schauer Marin Rodrigues
wrote:
> Hi Ben,
> 
> Quoting Ben Hutchings (2025-05-03 16:46:02)
> > reform-tools installs a kernel hook under /usr/share/kernel.  As you know,
> > this currently only works with unofficial kernel packages.
> > 
> > The official kernel packages should support this in trixie, but I
> > still do not want packages to rely on this until *after* the trixie
> > release.  There is no way to depend on "a new enough kernel package"
> > other than through the requirement that systems are fully upgraded to
> > one stable release before upgrading further.
> > 
> > If you are not convinced by that, then there is another problem for
> > partial upgrades: if debianutils is not upgraded to at least version
> > 5.21 then this hook will cause kernel package installation to fail as
> > it will try to pass 2 hook directories to run-parts which is not
> > supported.  So you should add a versioned dependency on debianutils if you
> > leave the hook under /usr/share/kernel for the trixie release.
> 
> the package also ships a symlink in /etc/kernel. Is that not enough?

That is backward-compatible, which addresses my first objection. 
However you still need the versioned dependency on debianutils.

Ben.

-- 
Ben Hutchings
It is impossible to make anything foolproof
because fools are so ingenious.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to