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

Re: Bug#720081: Install file trigger for /usr/share/initramfs-tools



On Sun, 2015-08-30 at 16:23 +0200, Michael Biebl wrote:
> Control: retitle -1 Add support for dpkg triggers
> Control: block 739464 by -1
> 
> Am 21.08.2013 um 15:40 schrieb Thomas Lange:
> > > > > > > On Sun, 18 Aug 2013 13:04:18 +0200, Michael Biebl <biebl@debian.org> said:
> > 
> >     > That's why I suggest to install a dpkg file trigger for
> >     > /usr/share/initramfs-tools and update the initramfs whenever a package
> >     > drops a initramfs-tools hook in there.
> > I think the proper way is to add a dracut trigger to all packages
> > that may add some stuff to initrd whether this is generated by
> > initramfs-tools or dracut.
> 
> Ok, so let's repurpose this bug report:
> dracut should add support for updating the initrd via an explicit dpkg
> trigger. Other packages can then request an initrd update via dpkg-triggers.
> 
> 
> initramfs-tools has the same problem. Right now, individual packages
> update the initramfs by calling "update-initramfs -u" in their
> maintainer scipts.
> 
> I think it would be preferable, if initramfs-tools could be switched
> over to use dpkg triggers as well, so CCing their maintainers.

It has done.  Look at what update-initramfs does when run from a
maintainer script.

Ben.

-- 
Ben Hutchings
Any sufficiently advanced bug is indistinguishable from a feature.

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


Reply to: