]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: skip boot counter logic for entries marked read-only 43012/head
authorLennart Poettering <lennart@amutable.com>
Mon, 13 Jul 2026 13:56:36 +0000 (15:56 +0200)
committerLennart Poettering <lennart@amutable.com>
Tue, 14 Jul 2026 08:13:17 +0000 (10:13 +0200)
commitde39ad2cfefc4369ebcf9805afe02dc82582e8de
tree28ec2407cd29bf3310d14bf184728964f7345a07
parent38f63d28c2f9d72dd786e169c2e4ad6176425d93
boot: skip boot counter logic for entries marked read-only

If the read-only FAT file attribute is set on a boot entry file with a
counter in its name, don't attempt to rename it, but simply skip the
boot counter logic for it, taking the flag as a hint that the entry
shall not be subject to boot assessment.
src/boot/boot.c