docs/BLS: move "boot counting" into the main spec
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 9 Jun 2022 10:15:46 +0000 (12:15 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 9 Jun 2022 11:22:48 +0000 (13:22 +0200)
commitdb82e667c7b52b8ff75d2cfc071d275a831bc915
tree782f2a9eb5e4901e95195ec3c5e20d7dacf6e835
parent2299b1cae32c1fb8911da0ce26efced68032f4f8
docs/BLS: move "boot counting" into the main spec

The boot-counting file-renaming entry-sorting part that the boot
loader implements is moved to the main document. The second document
describes a specific implementation that is provided through systemd
units.

The sorting algorithm is extended to say that bad entries should
be sorted later.

I also added a note that bad entries should be available for booting.

For some reason, the second document said that it applies only to EFI systems.
AFAIK there are no implementations for non-EFI, but the specification should
work just fine, if somebody were to implement it. So that part is dropped.

Fixes #23345.

Sadly, bootctl doesn't implement sorting of boot entries with counting :((((
But I'm leaving that for another PR.
docs/AUTOMATIC_BOOT_ASSESSMENT.md
docs/BOOT_LOADER_SPECIFICATION.md