update-initramfs -c does not update the bootloader
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
boot (Ubuntu) |
Fix Released
|
Wishlist
|
Oliver Grawert | ||
Natty |
Won't Fix
|
Wishlist
|
Unassigned | ||
Oneiric |
Fix Released
|
High
|
Oliver Grawert |
Bug Description
Binary package hint: initramfs-tools
when looking at update-initramfs' source code there is the run_bootloader function looking like:
run_bootloader()
{
# invoke policy conformant bootloader hooks
if [ -d /etc/initramfs/
fi
# FIXME: to be removed postsqueeze release
[...]
if flash-kernel --supported >/dev/null 2>&1; then
fi
}
this function is later on called from the update function (invoked by calling update-initramfs -u)
in the case where a completely new kernel update is installed and the create function (update-initramfs -c) is used the run_bootloader function is ignored. in case of bootloaders like lilo or bootloaders that need flash-kernel to run this leaves the system with the previous kernel. the kernel will only be active after an update-initramfs -u run
a call to run_bootloader needs to be added to the create() function.
Related branches
Changed in initramfs-tools (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Oliver Grawert (ogra) |
affects: | initramfs-tools (Ubuntu Natty) → boot (Ubuntu Natty) |
Changed in boot (Ubuntu Natty): | |
status: | New → Triaged |
tags: | added: armel |
tags: | added: bitesize |
Changed in boot (Ubuntu Natty): | |
importance: | High → Wishlist |
Changed in boot (Ubuntu Oneiric): | |
assignee: | nobody → Oliver Grawert (ogra) |
Changed in boot (Ubuntu Natty): | |
assignee: | Oliver Grawert (ogra) → nobody |
status: | Triaged → Won't Fix |
subscribing the debian maintqainer to the bug to get some feedback about the issue.