Update to 0.4

This commit is contained in:
Peter Jones 2013-06-11 09:07:34 -04:00
parent b03890160e
commit 00ae24516c
3 changed files with 27 additions and 24 deletions

View File

@ -1,29 +1,29 @@
From 75f6469dd9b9944124d5e1981458dc275dbc1123 Mon Sep 17 00:00:00 2001
From 5a82ef99c8ff146280cb4134d84ee242d3bdb98d Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Thu, 30 May 2013 17:23:19 -0400
Subject: [PATCH] EFI_PXE_BASE_CODE_DHCPV6_PACKET is in gnu-efi-3.0t
---
netboot.c | 9 ---------
1 file changed, 9 deletions(-)
netboot.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/netboot.c b/netboot.c
index 90fb9cb..c44aeac 100644
--- a/netboot.c
+++ b/netboot.c
@@ -56,15 +56,6 @@ static EFI_IP_ADDRESS tftp_addr;
diff --git b/netboot.c a/netboot.c
index c44aeac..90fb9cb 100644
--- b/netboot.c
+++ a/netboot.c
@@ -56,6 +56,15 @@ static EFI_IP_ADDRESS tftp_addr;
static char *full_path;
-/*
- * Not in the EFI header set yet, so I have to declare it here
- */
-typedef struct {
- UINT32 MessageType:8;
- UINT32 TransactionId:24;
- UINT8 DhcpOptions[1024];
-} EFI_PXE_BASE_CODE_DHCPV6_PACKET;
-
+/*
+ * Not in the EFI header set yet, so I have to declare it here
+ */
+typedef struct {
+ UINT32 MessageType:8;
+ UINT32 TransactionId:24;
+ UINT8 DhcpOptions[1024];
+} EFI_PXE_BASE_CODE_DHCPV6_PACKET;
+
typedef struct {
UINT16 OpCode;
UINT16 Length;

View File

@ -1,6 +1,6 @@
Name: shim
Version: 0.3
Release: 2%{?dist}
Version: 0.4
Release: 0.1%{?dist}
Summary: First-stage UEFI bootloader
License: BSD
@ -23,9 +23,9 @@ Source2: http://www.codon.org.uk/~mjg59/mokutil/mokutil-%{mokutilver}.tar.bz2
Source3: dbx.esl
Patch0: 0001-Fix-grub-path.patch
Patch1: 0001-Don-t-use-MMX-and-SSE-registers-they-aren-t-initiali.patch
Patch2: mokutil-correct-moklistrt-size.patch
#Patch3: 0001-EFI_PXE_BASE_CODE_DHCPV6_PACKET-is-in-gnu-efi-3.0t.patch
Patch1: mokutil-correct-moklistrt-size.patch
Patch2: 0001-Don-t-use-shim_cert-for-verifying-MoK-fedora-will-do.patch
Patch3: 0001-EFI_PXE_BASE_CODE_DHCPV6_PACKET-is-in-gnu-efi-3.0t.patch
BuildRequires: gnu-efi git openssl-devel openssl
BuildRequires: pesign >= 0.106-1
@ -80,7 +80,7 @@ git am %{patches} </dev/null
%build
MAKEFLAGS=""
if [ -f "%{SOURCE1}" ]; then
MAKEFLAGS="VENDOR_CERT_FILE=%{SOURCE1}"
MAKEFLAGS="VENDOR_CERT_FILE=%{SOURCE1} VENDOR_DBX_FILE=%{SOURCE3}"
fi
make ${MAKEFLAGS} shim.efi MokManager.efi fallback.efi
cd mokutil-%{mokutilver}
@ -115,6 +115,9 @@ install -m 0644 MokManager.efi.debug $RPM_BUILD_ROOT/usr/lib/debug/%{_datadir}/s
/usr/share/man/man1/mokutil.1.gz
%changelog
* Tue Jun 11 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1
- Update to 0.4
* Fri Jun 07 2013 Peter Jones <pjones@redhat.com> - 0.3-2
- Require gnu-efi-3.0q for now.
- Don't allow mmx or sse during compilation.

View File

@ -1,2 +1,2 @@
485218c423aef15de46d55d6de48c98b mokutil-0.1.0.tar.bz2
f31a82c04df23aef0ef99b658fb61306 shim-0.3.tar.bz2
8e7c5fe72ca0d911de9c1103a68eb455 shim-0.4.tar.bz2