sd-boot: fix menu ordering with boot counting
authorDaniel Fullmer <danielrf12@gmail.com>
Thu, 23 Apr 2020 18:47:56 +0000 (14:47 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 Sep 2020 09:04:18 +0000 (11:04 +0200)
commitc5883bc08877d8bad10110434037a3c21950a71a
treefdaaffd6fcf829825e1a4e370a8308e0f1e885f3
parentf6540dec4731041578bc9a8f69b62d8de298e7d9
sd-boot: fix menu ordering with boot counting

systemd-boot selects the last valid entry by default, not the first.

Fixes: #15256
(cherry picked from commit e6190e2882e1d6772a9e586fcc65c91d406e52fb)
docs/AUTOMATIC_BOOT_ASSESSMENT.md
man/systemd-boot.xml
src/boot/efi/boot.c