efi-boot-shim/version.c.in
Peter Jones 4990d3fb95 Make shim_version live in a special aligned section.
This makes it so two builds of the same .deb on different hosts won't
have wildly different file offsets.

Signed-off-by: Peter Jones <pjones@redhat.com>
2017-02-23 16:08:42 -05:00

9 lines
191 B
C

#include "version.h"
CHAR8 shim_version[] __attribute__((section (".data.ident"))) =
"UEFI SHIM\n"
"$Version: @@VERSION@@ $\n"
"$BuildMachine: @@UNAME@@ $\n"
"$Commit: @@COMMIT@@ $\n";