sd-boot: fix menu ordering with boot counting
authorDaniel Fullmer <danielrf12@gmail.com>
Thu, 23 Apr 2020 18:47:56 +0000 (14:47 -0400)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 May 2020 17:27:59 +0000 (19:27 +0200)
commite6190e2882e1d6772a9e586fcc65c91d406e52fb
tree61ad6838c5926fbe5324ca310b826cde8d3ac13e
parent2d2d75047ed885d318abc190cc47086627c7f9cc
sd-boot: fix menu ordering with boot counting

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

Fixes: #15256
docs/AUTOMATIC_BOOT_ASSESSMENT.md
man/systemd-boot.xml
src/boot/efi/boot.c