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

Question about update-initramfs



Hi,

I have a question about update-initramfs and the bug #619354 [1]

The bug report includes:

-------8<------
The README.Debian file can now tell users
to use:

  update-initramfs -u -k all

to update the initramfs for all their kernels
instead of

  update-initramfs -u

which is what it says now.  (With a warning
about having to update other kernels.)
-------8<------

But in the debian/changelog file there is this line:

-------8<------
uswsusp (0.7-1) unstable; urgency=low

  * New upstream. For the impatient: this closes: #441310.
  (...)
  * Call update-initramfs without `-k all'
  (...)

 -- Tim Dijkstra <tim@famdijkstra.org>  Thu, 13 Sep 2007 22:18:46 +0200
-------8<------

And in the debian/NEWS file:

-------8<------
uswsusp (0.7-1) unstable; urgency=low

    NOTE, by default update-initramfs -u only updates the initramfs of the
    latest kernel. This can lead to incompatibilities between s2disk and
    resume if you boot an older kernel.
    To circumvent this problem uswsusp used to call u-i with `-k all' to
    update the initramfs of all kernel versions. This was deemed `impolite',
    because it can also mean that you break all initramfs instead of just
    the last. The current u-i can be made to update all initramfses by setting
    update_initramfs=all in /etc/initramfs-tools/update-initramfs.conf.

 -- Tim Dijkstra <tim@famdijkstra.org>  Thu, 13 Sep 2007 22:13:17 +0200
-------8<------

Then, what should I do? What is the correct option?

1. update-initramfs -u
2. update-initramfs -u -k all

Thanks a lot.
kix

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619354
-- 
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/


Reply to: