diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | commit | 2 | ||||
-rw-r--r-- | errlog.c | 3 | ||||
-rw-r--r-- | lib/console.c | 9 | ||||
-rw-r--r-- | shim.c | 2 |
5 files changed, 11 insertions, 10 deletions
@@ -1,4 +1,4 @@ -VERSION = 13 +VERSION = 12 ifneq ($(origin RELEASE),undefined) DASHRELEASE ?= -$(RELEASE) else @@ -167,6 +167,7 @@ shim.crt: shim.cer: shim.crt $(OPENSSL) x509 -outform der -in $< -out $@ +.NOTPARALLEL: shim_cert.h shim_cert.h: shim.cer echo "static UINT8 shim_cert[] = {" > $@ $(HEXDUMP) -v -e '1/1 "0x%02x, "' $< >> $@ @@ -332,7 +333,7 @@ clean: $(MAKE) -C Cryptlib -f $(TOPDIR)/Cryptlib/Makefile clean $(MAKE) -C Cryptlib/OpenSSL -f $(TOPDIR)/Cryptlib/OpenSSL/Makefile clean $(MAKE) -C lib -f $(TOPDIR)/lib/Makefile clean - rm -rf $(TARGET) $(OBJS) $(MOK_OBJS) $(FALLBACK_OBJS) $(KEYS) certdb + rm -rf $(TARGET) $(OBJS) $(MOK_OBJS) $(FALLBACK_OBJS) $(KEYS) certdb $(BOOTCSVNAME) rm -f *.debug *.so *.efi *.tar.* version.c GITTAG = $(VERSION) @@ -1 +1 @@ -9c1c35c588d5d2aaba60aa33287d4dfae5d0f4c1
\ No newline at end of file +35fd2c170cadfd50670d55fbcbf9cb2f4d4f1868
\ No newline at end of file @@ -68,6 +68,9 @@ PrintErrors(VOID) { UINTN i; + if (!verbose) + return; + for (i = 0; i < nerrs; i++) Print(L"%s", errs[i]); } diff --git a/lib/console.c b/lib/console.c index 5e4035eb..cd8d1de2 100644 --- a/lib/console.c +++ b/lib/console.c @@ -312,8 +312,7 @@ console_errorbox(CHAR16 *err) err_arr[2] = err; - //console_alertbox(err_arr); - Print(L"%s\n", err_arr[2]); + console_alertbox(err_arr); } void @@ -326,8 +325,7 @@ console_notify(CHAR16 *string) str_arr[0] = string; - //console_alertbox(str_arr); - Print(L"%s\n", str_arr[0]); + console_alertbox(str_arr); } #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) @@ -406,8 +404,7 @@ console_error(CHAR16 *err, EFI_STATUS status) err_arr[2] = str; - //console_alertbox(err_arr); - Print(L"%s\n", err_arr[2]); + console_alertbox(err_arr); } void @@ -950,7 +950,7 @@ static EFI_STATUS generate_hash (char *data, unsigned int datasize_in, SumOfBytesHashed += hashsize; } -#if 0 +#if 0 // we have to migrate to doing this later :/ /* Hash all remaining data */ if (datasize > SumOfBytesHashed) { hashbase = data + SumOfBytesHashed; |