[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#678962: lintian: [new-check] installs-initramfs-but-does-not-call-update



On Mon, 2022-01-10 at 14:38 +0100, Ben Hutchings wrote:
> On Mon, 25 Jun 2012 12:51:36 +0100 Dmitrijs Ledkovs
> <dmitrijs.ledkovs@canonical.com> wrote:
> > Package: lintian
> > Version: 2.5.9
> > Severity: wishlist
> > 
> > If a binary package installs files in:
> >   * /usr/share/initramfs/hooks
> >   * /usr/share/initramfs/scripts
> > 
> > In postinst:
> >   * the said binary or it's Depends:${binary:Version} packages must
> >     have a call update-initramfs
> [...]
> 
> It should now use dpkg-trigger and *not* run update-initramfs directly.

Sorry, that's wrong, it should include a triggers control file which
will look something like:

# Triggers added by dh_installinitramfs/13.3.4
activate-noawait update-initramfs

Ben.

-- 
Ben Hutchings
I say we take off; nuke the site from orbit.
It's the only way to be sure.

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


Reply to: