Nitrokey / heads

A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops and servers.
http://osresearch.net/
GNU General Public License v2.0
15 stars 1 forks source link

Automatic long Git hash version #4

Closed szszszsz closed 3 years ago

szszszsz commented 4 years ago

For the development and CI/CD purposes it would be nice to have each build extended with a file containing the long commit hash, which could be easily checked in the recovery shell or perhaps written in the system info.

alex-nitrokey commented 3 years ago

The git has is already stored as a variable in /tmp/config. I will use this for version info.

Furthermore, I want to adapt the Makefile to just append the hash to each build-file, so that they are unique and not all called coreboot.rom. Does this sound like a good solution to you?

szszszsz commented 3 years ago

Ok! Something like coreboot-<version>.rom? That would be nice.

alex-nitrokey commented 3 years ago

Done here.

szszszsz commented 3 years ago

Looks good!

alex-nitrokey commented 3 years ago

Fixed in v1.2