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 10:28:05 +0000 (12:28 +0200)
commitf047b0706c01f99c1b781f44b7b4d95ecdb8abe2
tree0e539ebeb23f0f1810b4edd2e4ea9b633afd7c95
parent896de339843dde3b1788f281af0c3cc6d080aa8a
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)
(cherry picked from commit c5883bc08877d8bad10110434037a3c21950a71a)
docs/AUTOMATIC_BOOT_ASSESSMENT.md
man/systemd-boot.xml
src/boot/efi/boot.c