diff options
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/no-print-on-unsigned | 19 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/no-print-on-unsigned b/debian/patches/no-print-on-unsigned new file mode 100644 index 00000000..6dcc0977 --- /dev/null +++ b/debian/patches/no-print-on-unsigned @@ -0,0 +1,19 @@ +Description: Don't print any message when validating an unsigned binary + Printing the error message when validating an unsigned binary was causing + the boot to hang on Lenovo machines, possibly because of a broken Print() + implementation in those firmware (or some interaction with grub). +Author: Stéphane Graber <stgraber@ubuntu.com> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1087501 + +Index: shim-clean/shim.c +=================================================================== +--- shim-clean.orig/shim.c 2013-08-08 16:19:11.886403060 +0200 ++++ shim-clean/shim.c 2013-08-08 16:20:09.590405204 +0200 +@@ -652,7 +652,6 @@ + unsigned int size = datasize; + + if (context->SecDir->Size == 0) { +- Print(L"Empty security header\n"); + return EFI_INVALID_PARAMETER; + } + diff --git a/debian/patches/series b/debian/patches/series index 39007dbb..c07f3b5c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ prototypes second-stage-path sbsigntool-not-pesign no-output-by-default.patch +no-print-on-unsigned |
