|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Fedora 30 DomU - pygrub always boots the second menu option
Further looking into this, it seems the problem occurs on this section of the grub.cfg: ### BEGIN /etc/grub.d/08_fallback_counting ### insmod increment# Check if boot_counter exists and boot_success=0 to activate this behaviour.
if [ -n "${boot_counter}" -a "${boot_success}" = "0" ]; then
# if countdown has ended, choose to boot rollback deployment,
# i.e. default=1 on OSTree-based systems.
if [ "${boot_counter}" = "0" -o "${boot_counter}" = "-1" ]; then
set default=1
set boot_counter=-1
# otherwise decrement boot_counter
else
decrement boot_counter
fi
save_env boot_counter
fi
### END /etc/grub.d/08_fallback_counting ###
It seems pygrub sees the 'set default=1' and uses it - even though it
shouldn't be normally hit due to it being in a conditional.
Steven Haigh 📧 netwiz@xxxxxxxxx 💻 https://www.crc.id.au 📞 +613 9001 6090 📱 +614 1293 5897 On Thu, Aug 1, 2019 at 12:54 AM, Steven Haigh <netwiz@xxxxxxxxx> wrote: There's a ton of changes to grub in Fedora 30.... Most of them causing pain.When booting using pygrub, the presented menu always has the second option selected. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |