From 110c669fd654b4a87f758a82b8bf468596b3ad19 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre Date: Tue, 26 Jul 2016 12:20:13 -0400 Subject: [PATCH] * Refreshed patches. - Remaining patches: + second-stage-path + sbsigntool-not-pesign --- debian/changelog | 16 ++++++++-------- debian/patches/sbsigntool-not-pesign | 4 ++-- debian/patches/second-stage-path | 4 ++-- debian/patches/series | 3 --- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/debian/changelog b/debian/changelog index 45d0411..ace6789 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,14 +1,14 @@ shim (0.9+1465500757.14a5905-0ubuntu1) UNRELEASED; urgency=medium * New upstream release. - - [ Matthias Klose ] - * Fix build with GCC 5, forcing -std=gnu89 to not rely on stdint.h - required by efibind.h, and not found with -nostdinc. (LP: #1429978) - - [ Mathieu Trudel-Lapierre ] - * More GCC 5 fixes: stdarg.h and other include tweaks, cherry-pick from - d51739a4. + - Better handle LoadOptions. + - Measure state and second stage in TPM. + - Mirror MokSBState in runtime as MokSBStateRT. + - Various bug fixes and other improvements. + * Refreshed patches. + - Remaining patches: + + second-stage-path + + sbsigntool-not-pesign -- Mathieu Trudel-Lapierre Tue, 26 Jul 2016 12:02:21 -0400 diff --git a/debian/patches/sbsigntool-not-pesign b/debian/patches/sbsigntool-not-pesign index c91a647..9629cb1 100644 --- a/debian/patches/sbsigntool-not-pesign +++ b/debian/patches/sbsigntool-not-pesign @@ -13,8 +13,8 @@ Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile -@@ -144,8 +144,8 @@ FORMAT ?= --target efi-app-$(ARCH) - -j .debug_line -j .debug_str -j .debug_ranges \ +@@ -158,8 +158,8 @@ endif + -j .note.gnu.build-id \ $(FORMAT) $^ $@.debug -%.efi.signed: %.efi certdb/secmod.db diff --git a/debian/patches/second-stage-path b/debian/patches/second-stage-path index fef139c..da53af8 100644 --- a/debian/patches/second-stage-path +++ b/debian/patches/second-stage-path @@ -13,7 +13,7 @@ Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile -@@ -18,7 +18,7 @@ EFI_LIBS = -lefi -lgnuefi --start-group +@@ -25,7 +25,7 @@ EFI_LIBS = -lefi -lgnuefi --start-group EFI_CRT_OBJS = $(EFI_PATH)/crt0-efi-$(ARCH).o EFI_LDS = elf_$(ARCH)_efi.lds @@ -21,4 +21,4 @@ Index: b/Makefile +DEFAULT_LOADER := \\\\grubx64.efi CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \ -fshort-wchar -Wall -Wsign-compare -Werror -fno-builtin \ - -Werror=sign-compare \ + -Werror=sign-compare -ffreestanding -std=gnu89 \ diff --git a/debian/patches/series b/debian/patches/series index 93f1acf..a5f3392 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,5 +1,2 @@ -prototypes second-stage-path sbsigntool-not-pesign -gcc-5.diff -gcc5-includes-stdarg.patch