]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: Strip boot counter from entry id
authorDanilo Spinella <danilo.spinella@suse.com>
Thu, 11 Sep 2025 08:51:27 +0000 (10:51 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Oct 2025 08:04:47 +0000 (10:04 +0200)
commita059f9b2abc4c2f7eb9d3defb3b1468ec106e7c9
treeef3f2cb9ee0d0c10d95479103f74360bb1272cec
parent61a130d066486464c4936a2311fc74957cd2edbd
boot: Strip boot counter from entry id

When boot counter is found in the boot entry filename, strip it from the
id to match bootctl id.

Fixes #38813.

(cherry picked from commit 4301ad00ef715885be5c3bdf84c152030b7d36ff)
(cherry picked from commit e67e5145675b1849a554aeab4a32badd7d260f9f)
src/boot/boot.c