[Pkg-cryptsetup-devel] Re: update-initramfs -u in postinst

maximilian attems maks at sternwelten.at
Tue Dec 26 09:06:10 UTC 2006


On Mon, Dec 25, 2006 at 01:54:56PM +0100, Tim Dijkstra wrote:
> Hi,
> 
> I'm the maintainer of uswsusp. uswsusp installs a initramfs-tools hook
> and calls update-initramfs in its postinst to get installed on the
> initramfs.
> 
> Your packages (udev, cryptsetup, initramfs-tools itself) do the same.
> In all cases the exact command that is called is:
> 
> 	update-initramfs -u
> 
> Which only updates the initramfs of the most recent kernel. Now I was
> wondering if that would be the best thing to do. Wouldn't it be better
> to use:
> 
> 	update-initramfs -u -k all
> 
> That way all installed get the most recent tools in their initramfs.
> 
> Or am I overlooking something?
> 
> grts Tim

the short answer is that the updating the newest initramfs is considered
a polite conservative setting. it is not worth updating old kernels.
for the long answer you may want to dig in d-kernel archive.

best regards

-- 
maks





More information about the pkg-cryptsetup-devel mailing list