kernel postinst.d/postrm.d hooks execute alphabetically
Bug #669151 reported by
Matt Sealey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bootloader Manager |
New
|
Undecided
|
Unassigned | ||
Genesi EfikaMX Support Project |
Confirmed
|
Wishlist
|
Matt Sealey | ||
flash-kernel |
Invalid
|
Undecided
|
Unassigned | ||
initramfs-tools |
Invalid
|
Undecided
|
Unassigned | ||
syslinux |
Invalid
|
Undecided
|
Unassigned | ||
flash-kernel (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On shipped Maverick systems /etc/kernel/
Adding a simple script
#!/bin/sh
flash-kernel $1
As "/etc/kernel/
The current hack solution is to name the script "xflash-kernel"
Like udev scripts it would be better if they were numbered so they executed in the correct order.
Changed in flash-kernel: | |
status: | New → Invalid |
Changed in syslinux: | |
status: | New → Invalid |
Changed in initramfs-tools: | |
status: | New → Invalid |
To post a comment you must log in.
To clarify, the bug affects anything that is going to put a hook into any /etc/kernel/*.d directory.
Scripts should be numbered with an explicit order of operation so that for instance initramfs-tools is run before flash-kernel, or grub, without naming scripts zz-update-grub.