puzzleos / stubby

UEFI bootloader stub
GNU Lesser General Public License v2.1
12 stars 8 forks source link

Generate git version and include that in source output #46

Closed raharper closed 7 months ago

raharper commented 7 months ago

The current GIT_VERSION value only works if you build from a git repo. Once we release on github, the tarballs that one can download are not git repos and the git command to describe the version fail.

Generate the git version value and write to a file. In source tarball builds, the value will come from the file rather than git.

Fixes: #45

raharper commented 7 months ago

Hrm, this focal environment is getting a security violation with its efi shell:

BdsDxe: failed to start Boot0002 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1): Security Violation

I don't get that on a local focal system.

raharper commented 7 months ago

https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/2040137