Generation name in boot screen contains twice NixOS and kernel version #99
Labels
No labels
bug
dependency
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
review-next
security
stub
tool
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: raito/lanzaboote#99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An systemd boot entry looks like:
NixOS (Generation 85 NixOS 23.05, Linux Kernel 6.1.9, Built on 2023-02-08)
a lanzaboote one is a bit longer and contains redundant information:
NixOS Stoat 23.05 (Linux 6.1.9) (Generation 85 NixOS 23.05), Linux Kernel 6.1.9, Built on 1970-01-01)
I don't mind the release name (Stoat), that is a nice feature we should maybe add to systemd-boot in nixos, too but the first Linux version can go. Maybe the first release number but not sure on that one.
This is because the first part of the name (
NixOS Stoat 23.05 (Linux 6.1.9)
) comes from the bootspec label. I guess we can simplify the version part ((Generation 85 NixOS 23.05), Linux Kernel 6.1.9, Built on 1970-01-01)
)---which we fully control---to only display the actual generation number. However, this might mess up the ordering of the entries.Alternatively we can adjust the upstream bootspec label field or just ignore it for now and go back to just the
NixOS
label.That
Built on
currently always displays UNIX epoch 0 is because we currently read the timestamp of the derivation and not of the link. See #95