[Bug 83629] Re: update-initramfs and mkinitramfs should rename into place after creation

Colin Watson cjwatson at canonical.com
Thu Nov 13 12:21:35 UTC 2008


This was fixed a while ago, for Ubuntu 8.04:

initramfs-tools (0.85eubuntu24) hardy; urgency=low

  * Implement the initramfs-tools part of the initramfs error handling spec
  * update-initramfs:
    - Make a hard link to the original initramfs image, rather than moving
      it out of the way.
    - Create a new initramfs image to ${initramfs}.new, to ensure we still
      have a functional initramfs in case of failure. The original initramfs
      only gets replaced when a new image is successfully created.
  * scripts/functions:
    - Added add_mountroot_fail_hook function to allow scripts in
      init-premount to register a hook to allow extra information
      to be given to the user, in the event of a non-existant root
      device.
    - The panic function now runs any registered mountroot fail hooks that
      were previously registered, and only does so when passed the -r
      argument from the calling function.
  * scripts/local: Call the panic function with -r to run any registered
    mountroot fail hooks when a root device cannot be found.

 -- Luke Yelavich <themuso at ubuntu.com>  Tue, 05 Feb 2008 13:38:51 +1100

** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Fix Released

-- 
update-initramfs and mkinitramfs should rename into place after creation
https://bugs.launchpad.net/bugs/83629
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list