Re: [PATCH 1/4] kernel hooks: Treat missing version argument as an error
On Fri, 04 Mar 2011, Ben Hutchings wrote:
> The version argument is mandatory and we should complain if some package
> doesn't pass it rather than quietly failing to do our job.
>
> However, making package removal fail is generally unhelpful, so
> continue to return 0 from the postrm hook.
>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
> kernel/postinst.d/initramfs-tools | 5 ++++-
> kernel/postrm.d/initramfs-tools | 5 ++++-
> 2 files changed, 8 insertions(+), 2 deletions(-)
>
thanks applied with minor change to branch ben/hook_pol,
meant to land soonest in initramfs-tools master.
--
maks
Reply to: