Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Peter Jones
55f2887456 Fix a minor rebuild issue; note that this means it won't match the
result that's in shim-15-8.

Signed-off-by: Peter Jones <pjones@redhat.com>
2020-01-21 15:18:15 -05:00
Peter Jones
b12bc214a2 Fix bad sources *again*
Signed-off-by: Peter Jones <pjones@redhat.com>
2020-01-21 14:48:14 -05:00
Peter Jones
58eeefcafd Fix bad sources
Signed-off-by: Peter Jones <pjones@redhat.com>
2020-01-21 14:48:14 -05:00
Peter Jones
773a540c48 Update to shim 15
better checking for bad linker output
flicker-free console if there's no error output
improved http boot support
better protocol re-installation
dhcp proxy support
tpm measurement even when verification is disabled
REQUIRE_TPM build flag
more reproducable builds
measurement of everything verified through shim_verify()
coverity and scan-build checker make targets
misc cleanups

Signed-off-by: Peter Jones <pjones@redhat.com>
2020-01-21 14:48:14 -05:00
3 changed files with 50 additions and 5 deletions

View file

@ -0,0 +1,25 @@
From 79f8e33de536909810578371dbc8a3043517b216 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Tue, 21 Jan 2020 14:37:59 -0500
Subject: [PATCH] CFLAGS: add -Werror=address-of-packed-member
Signed-off-by: Peter Jones <pjones@redhat.com>
---
Make.defaults | 1 +
1 file changed, 1 insertion(+)
diff --git a/Make.defaults b/Make.defaults
index e11ab5a7f2c..065b17445b5 100644
--- a/Make.defaults
+++ b/Make.defaults
@@ -41,6 +41,7 @@ EFI_LDS = $(TOPDIR)/elf_$(ARCH)_efi.lds
CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \
-fshort-wchar -Wall -Wsign-compare -Werror -fno-builtin \
+ -Wno-error=address-of-packed-member \
-Werror=sign-compare -ffreestanding -std=gnu89 \
-I$(shell $(CC) -print-file-name=include) \
"-DDEFAULT_LOADER=L\"$(DEFAULT_LOADER)\"" \
--
2.24.1

View file

@ -1,5 +1,5 @@
%global pesign_vre 0.106-1
%global gnuefi_vre 1:3.0.5-6
%global gnuefi_vre 1:3.0.8-1
%global openssl_vre 1.0.2j
%global debug_package %{nil}
@ -17,8 +17,8 @@
%global shimaltdir %{shimversiondir}/%{efialtarch}
Name: shim-unsigned-%{efiarch}
Version: 13
Release: 0.2%{?dist}
Version: 15
Release: 2%{?dist}
Summary: First-stage UEFI bootloader
ExclusiveArch: x86_64
License: BSD
@ -37,6 +37,8 @@ Source2: dbx.esl
Source100: shim-find-debuginfo.sh
Patch0001: 0001-CFLAGS-add-Werror-address-of-packed-member.patch
BuildRequires: gcc
BuildRequires: elfutils-libelf-devel
BuildRequires: git openssl-devel openssl
@ -95,7 +97,7 @@ BuildArch: noarch
%debug_desc
%prep
%autosetup -S git -n shim-%{version}
%autosetup -S git_am -n shim-%{version}
git config --unset user.email
git config --unset user.name
mkdir build-%{efiarch}
@ -171,6 +173,24 @@ cd ..
%files debugsource -f build-%{efiarch}/debugsource.list
%changelog
* Tue Jan 21 2020 Peter Jones <pjones@redhat.com> - 15-2
- Fix a minor rebuild issue; note that this means it won't match the
result that's in shim-15-8.
* Thu Apr 05 2018 Peter Jones <pjones@redhat.com> - 15-1
- Update to shim 15
- better checking for bad linker output
- flicker-free console if there's no error output
- improved http boot support
- better protocol re-installation
- dhcp proxy support
- tpm measurement even when verification is disabled
- REQUIRE_TPM build flag
- more reproducable builds
- measurement of everything verified through shim_verify()
- coverity and scan-build checker make targets
- misc cleanups
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 13-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (shim-13.tar.bz2) = 99b11701f12866611a8e7418dab24342f723b72d7feba4a7567a23c9b6abb415d90f82ec59cf543ebf72c29fa2b14f12a7739cc43035e01b9da4983d03c6bec6
SHA512 (shim-15.tar.bz2) = f7dfac774d644111431ca56da76b5575b891b0abad970b318edaede11a0d83c869728bc39cb6af3689bdb203c6826545caf8ddd3d14228831027e334963cf957