update-initramfs trigger should *not* unconditionally run flash-kernel
Bug #691074 reported by
Dave Martin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flash-kernel (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
Observed in initramfs-tools 0.98.1ubuntu6
Observed in flash-kernel 2.28ubuntu10
Platform: vexpress (armel)
flash-kernel should do nothing if /etc/flash-
initramfs-tools should not even attempt to update the bootloader's initrd image (and so probably shouldn't invoke flash-kernel at all) unless /etc/kernel-
Of course, in a "normal" installation, both configuration files will exist. But for test platforms, and in some other situations, we want to avoid gratuitous flash rewrites.
To post a comment you must log in.
You are mixing 2 things:
* /etc/kernel- img.conf is deprecated and sholdn't matter these days.
* flash-kernel is not invoked by update-initramfs if /etc/initramfs/ post-update. d/ hook extists.
flash-kernel hook should take care to not run if /etc/flash- kernel. conf doesn't exist is a proper condtion.
I don't see an initramfs-tools bug here, thanks for your feedback.