Files
systemd/docs
Lennart Poettering 1011935785 docs: add new "sort-key" field to boot loader spec
This allows snippet generators to explicitly order entries: any string
can be set as an entry's "sort key". If set, sd-boot will use it to sort
entries on display.

New logic is hence (ignore the boot counting logic)

  sort-key is set → primary sort key: sort-key (lexicographically increasing order)
                  → secondary sort key: machine-id (also increasing order)
                  → tertiary sort key: version (lexicographically decreasing order!)

  sort-key is not set → primary sort key: entry filename (aka id), lexicographically increasing order)

With this scheme we can order OSes by their names from A-Z but then put
within the same OS still the newest version first. This should clean up
the order to match expectations more.

Based on discussions here:

https://github.com/systemd/systemd/pull/22391#issuecomment-1040092633
2022-03-18 11:59:30 +01:00
..
2022-02-08 21:59:10 +01:00
2019-12-11 17:04:20 +01:00
2022-01-12 16:05:59 +01:00
2022-03-13 10:24:45 +00:00
2018-10-12 13:48:34 +02:00
2022-01-03 21:15:21 +01:00
2022-01-03 21:15:21 +01:00
2019-12-11 17:04:20 +01:00
2021-09-27 09:19:02 +02:00
2022-01-03 21:15:21 +01:00