[os-prober] microcode still in grub.cfg after first update-grub
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-prober (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If you install microcode-initrd and then remove it, after the FIRST update-grub, reference to microcode.cpio. but /boot/microcode
This problem only occure when using os-prober AND having SUBMENU enabled in grub.
This is due to use of /usr/lib/
I propose managing grub.cfg.new in 40grub2 :
<code>
96c96,101
< if [ -e "$mpoint/
---
> # If fresh grub.cfg.new exists, we where in update-
> GRUB_NEW=$(find ${mpoint}
> if [ -n "${GRUB_NEW}" ];then
> debug "parsing grub.cfg.new"
> parse_grub_menu "$mpoint" "$partition" "$bootpart" < "$mpoint/
> elif [ -e "$mpoint/
<code>
Status changed to 'Confirmed' because the bug affects multiple users.