sbvarsign: First cut of a variable-signing tool

Add sbvarsign, to sign variables to be passed to the efivars filesystem.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
Jeremy Kerr 2012-07-31 09:34:37 +08:00
parent b0ef29caaf
commit 953b00481f
5 changed files with 706 additions and 3 deletions

View file

@ -1,7 +1,7 @@
AM_CFLAGS = -Wall -Wextra
AM_CFLAGS = -Wall -Wextra --std=gnu99
bin_PROGRAMS = sbsign sbverify sbattach
bin_PROGRAMS = sbsign sbverify sbattach sbvarsign
coff_headers = coff/external.h coff/pe.h coff/i386.h coff/x86_64.h
@ -21,6 +21,12 @@ sbattach_SOURCES = sbattach.c $(common_SOURCES)
sbattach_LDADD = $(common_LDADD)
sbattach_CFLAGS = $(AM_CFLAGS) $(common_CFLAGS)
sbvarsign_SOURCES = sbvarsign.c
sbvarsign_LDADD = $(common_LDADD) $(uuid_LIBS)
sbvarsign_CPPFLAGS = $(EFI_CPPFLAGS)
sbvarsign_CFLAGS = $(AM_CFLAGS) $(uuid_CFLAGS) $(common_CFLAGS)
man1_MANS = docs/sbsign.1 docs/sbverify.1 docs/sbattach.1
EXTRA_DIST = docs/sbsign.1.in docs/sbverify.1.in docs/sbattach.1.in