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

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



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

In postrm:
 * the said binary package *must* have a call update-initramfs

False positive possibility:
 * Since calls to update-initramfs are trigger sensitive, trigger can be
   always activated by for-example a postrm script of ${binary:Version}
   reverse-depends package.

Also note, there is currently no dh integration available. See bug
491027.

Regards,

Dmitrijs.



Reply to: