"version" field in Type #1 and Type #2 (UKI) entries #36
osteffenrh
started this conversation in
General
Replies: 1 comment 1 reply
-
Yeah, this is a bit borked. So I have half a PR ready which adds ".uname" as a new PE section to UKIs. With that we'd have two version codes in a UKI. The distro version in the .osrel field, and the kernel version in .uname. I figure once that is in place, we should maybe do two things:
With that in place I think we should have a good solution: first ordering key is the OS version, second ordering key is the kernel versoin, regardless if type1 or type2. Does that make sense? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Boot Loader Spec states (see here):
For Type
#1
entries theversion
field is used as the kernel version (see here).BUT: The os-release file and thus the
.osrel
section of the UKI uses theVERSION_ID
for the OS version (not the kernel version). (seeman /etc/os-release
)This is also what I see on Fedora 36:
Loader entry:
.osrel
and/etc/os-release
:Beta Was this translation helpful? Give feedback.
All reactions