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

Re: [PATCH 3/4] update-initramfs: Depend on kernel hook scripts rather than $ramdisk invocation



On Fri, 04 Mar 2011, Ben Hutchings wrote:

> Official Debian and Ubuntu kernel packages will invoke us directly as
> part of the $ramdisk handling inherited from kernel-package.  They
> will later run our hook script, as will custom packages made with
> 'make-kpkg' or the upstream 'make deb-pkg'.
> 
> Currently, for official packages we perform an update on the first
> invocation (possibly deferred using dpkg triggers) and then ignore the
> second.  However, the long-term plan is to remove that first
> invocation.  Therefore, ignore the first invocation and perform the
> update on the second.
> 
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
>  kernel/postinst.d/initramfs-tools |   23 ++++++++++-------------
>  kernel/postrm.d/initramfs-tools   |   23 ++++++++++-------------
>  update-initramfs                  |   29 ++++++++++++++++++++---------
>  3 files changed, 40 insertions(+), 35 deletions(-)
> 

thank you applied with minor change and pushed out to ben/hook_pol.


Reply to: