On 8/27/25 09:03, Kurt Jaeger wrote:
Hi!
Question: is there any concept to get some proper version information
into these binaries, from which then some identity and the commit tag
could be retrieved from which they were created?
Maybe:
# strings /boot/loader.efi | fgrep Revision
DFreeBSD/amd64 EFI loader, Revision 3.0
I tried this:
strings loader.efi | fgrep Revision
11.1:
FreeBSD/amd64 EFI loader, Revision 1.1
12.2:
FreeBSD/amd64 EFI loader, Revision 1.1
13.2:
FreeBSD/amd64 EFI loader, Revision 1.1
14.x/15.x:
FreeBSD/amd64 EFI loader, Revision 3.0
but the size of the file was different in all 1.1 cases.
So I'm not sure it really defines the exact version.
We've historically basically not touched the loader version, but Warner
made the hop away from 1.1 after years and we could probably do a better
job bumping the minor version going forward.