]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: Fix boot counting for XBOOTLDR entries
authorJan Janssen <medhefgo@web.de>
Wed, 2 Aug 2023 14:00:07 +0000 (16:00 +0200)
committerJan Janssen <medhefgo@web.de>
Wed, 2 Aug 2023 14:06:57 +0000 (16:06 +0200)
commit66fd078ba89e90e8aeba6edac52d20456fc2cd5d
tree6ad454f01e877dfdd91e643724299e864e70be2d
parent8f30a066ff48325c9197ae3b103cd446852b9f3d
boot: Fix boot counting for XBOOTLDR entries

We were passing the dir handle for the ESP to
config_entry_bump_counters(), which will obviously fail if the entry
actually resides on the XBOOTLDR partition.

Fixes: #28637
src/boot/efi/boot.c