What | Removed | Added |
---|---|---|
Assignee | ms@suse.com | mchang@suse.com |
Summary | KIWI: Wrong GRUB default entry when booting snapshot | Wrong GRUB default entry when booting snapshot in our KIWI images |
Digging deeper into the problem I'm meanwhile not convinced that this should be resolved in KIWI any more. GRUB already contains "grub2-btrfs-08-workaround-snapshot-menu-default-entry.patch", which is supposed to solve exactly this problem: It it supposed to set the default entry to the next entry if the help text is shown. Unfortunately the menu entry title, originally introduced in "grub2-btrfs-05-grub2-mkconfig.patch", is later changed by "grub2-btrfs-help-on-snapper-rollback.patch" - and the code is doing a string comparison against the old string. The obvious fix would be to change use the new string in the GRUB patch, but maybe we could be using a better mechanism than string comparison? (Would setting a certain class or id for the menuentry work?)