sd-boot: select newest kernel entry matching with the default glob pattern
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 5 Jan 2022 06:09:43 +0000 (15:09 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 5 Jan 2022 11:15:24 +0000 (12:15 +0100)
commite37d30f334830fab4decd52ef3c17fa09b7b0d92
tree13a7786b89391b4ba0ae7d9d034a08cff8dc4ae3
parente28df39269e03d49f540ebfe6b2e507d0f26c844
sd-boot: select newest kernel entry matching with the default glob pattern

This fixes a bug introduced by 0c674ce5f24a6e52561ec6520e43a1ca45d90f01.

Fixes #22004.
src/boot/efi/boot.c