Accepting request 397637 from Virtualization

initialized devel package after accepting 397637

OBS-URL: https://build.opensuse.org/request/show/397637
OBS-URL: https://build.opensuse.org/package/show/Virtualization/ovmf?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2016-05-25 19:28:38 +00:00 committed by Git OBS Bridge
parent 21e9e2109e
commit 50ce1810cf
15 changed files with 1139 additions and 38 deletions

View File

@ -0,0 +1,41 @@
From 58606e6ae4dfb88d0e2b8424a449c5efc4e45bab Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Thu, 21 Apr 2016 13:17:39 +0200
Subject: [PATCH] ArmVirtPkg: Enable PCI bus probing again
Commit cd2178bb (ArmVirtPkg/PciHostBridgeDxe: move to FDT client protocol)
changed the default for the PCI bus to no-probe. This is problematic in
many ways:
* edk2 only supports mmio32, if you have a bar that doesn't fit in (like
ivshmem) it won't get mapped
* you lose any hotplug functionality
* ovmf only maps regions it cares about, breaking xhci for example
While we happer out upstream what the best path forward is, this patch reverts
us back to the old behavior of dynamically allocating PCI BARs in Linux.
Beware that this may break efifb support as Linux might now remap the EFI GOP
BAR that gets used for the efifb frame buffer.
Signed-off-by: Alexander Graf <agraf@suse.de>
---
ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.c b/ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.c
index 4b2b6a5..e471fe0 100644
--- a/ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.c
+++ b/ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.c
@@ -89,7 +89,7 @@ SetLinuxPciProbeOnlyProperty (
UINT32 Tmp;
EFI_STATUS Status;
- if (!FeaturePcdGet (PcdPureAcpiBoot)) {
+ if (0 && !FeaturePcdGet (PcdPureAcpiBoot)) {
//
// Set the /chosen/linux,pci-probe-only property to 1, so that the PCI
// setup we will perform in the firmware is honored by the Linux OS,
--
1.8.5.2

9
README
View File

@ -159,3 +159,12 @@ steps:
(4) Happy debugging
Reference: https://www.mail-archive.com/edk2-devel@lists.sourceforge.net/msg07075.html
Note: It's also possible to debug OVMF with Xen, but the way to set up the port
is differnt. Instead of adding the port number to qemu, you need gdbsx.
Before starting gdb, execute this command:
# gdbsx -a <domainid> 64 1234
Then gdbsx will listen to port 1234 for the specific domainU. The rest is
the same as qemu.

View File

@ -1,9 +1,9 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">ovmf</param>
<param name="versionformat">0.1+svn%r</param>
<param name="url">https://svn.code.sf.net/p/edk2/code/trunk/edk2</param>
<param name="scm">svn</param>
<param name="versionformat">2015+git%at.%h</param>
<param name="url">https://github.com/tianocore/edk2.git</param>
<param name="scm">git</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e23ccafdb75cfcde782da0151731aa2185195ac745eea3846133f2e05c0e0bff
size 5256555

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJWYIyiAAoJENnE0m0OYESRdSwIAIlfOOvtTaKbsY1gDhM8LaAM
gC2HYR18ipcz0ZdZzNch/mGy8gpVNmBWDhWzTd5Yz0AHRFX0fpOX7QZXHozV/QaB
2LmQ9N1QbztqSq0MW+2VCX31BR79wWYHVQF4A9QT7MOwCSA3RhGfEiZiIHNNloRa
j55Dpe0CMVdpdQc2WxlUC1A8O837bwr6ruPxctneJAvHK/XyeS/ta7a4eI8UQxMS
zkBNlsuiWQRzlAqMyiAkqu9NBkuLdBhP5Gkh2D8XP/yt1KwECFJiyAc0PFXTMILi
cNG5KdPe3tN3xCgR38k4/DKRNi4F1IVoe5YE7sk7U2wmG4dc5Z/9zGCTx+2atc0=
=PIJl
-----END PGP SIGNATURE-----

3
openssl-1.0.2g.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33
size 5266102

11
openssl-1.0.2g.tar.gz.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJW1Zr6AAoJENnE0m0OYESRRpkH/0SkDJcp4rvICbxuaD9jyJCa
UJLH3vSMfJ9QNMdIp8yemixGSvjr0mPhFOcZPysXRZo88IwuIV0+Q5I7hvCQ0PSt
YH/HzBZO0eShhUyDxb397odbbhsAkZFJytT+EXdFqd0HJLtWuPxaBF0WPgkklOQC
3R/sv+M8FAaZiIbdBwNv1FNgGG26T4up0RgV0ETpXXv9Da+AViGrefA5szKAj9aL
SOCRuUnzQO7ohSh5AZvgHylh1m7CGpH4MIyoAtNFtyogukO3yS3CzZ1iFcjsdHDn
sDIRZ18a5JOX/vWU0OmUXGhF7XXV93S1/1mKAAEXRJZOxzrneFuyv5b61t/xXCE=
=/pDQ
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae5bb4a4bc7e85dc661fbd3285323df914e382a7a54c5a69dedd3c829a31123e
size 21327708

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edeef9561f467a7a14d13e0a7a202a3cbb979123f59c73fc17ae86a3ce6b063e
size 21762920

View File

@ -0,0 +1,61 @@
From f84c6d67ccc846f20b03fbe46e5802a82c66d5be Mon Sep 17 00:00:00 2001
From: Gary Lin <glin@suse.com>
Date: Tue, 10 May 2016 11:18:34 +0800
Subject: [PATCH] OvmfPkg/PlatformBootManagerLib: Postpone the shell
registration
We currently register the shell before creating the boot options for
the block devices and the network devices, so the boot manager boots
into the internal shell if the user doesn't specify the boot order.
However, Xen doesn't support fw_cfg, so there is no way to change the
boot order with the external command, and the firmware will always
boot into the internal shell if the user doesn't interfere the boot
process.
This patch postpones the shell registration after MdeModulePkg/BDS
creates all the boot options for the block and network devices, so
that firmware will try to boot the block/network devices first.
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
index cf774a1..a16453d 100644
--- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
+++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
@@ -184,12 +184,6 @@ PlatformRegisterOptionsAndKeys (
NULL, (UINT16) BootOption.OptionNumber, 0, &Esc, NULL
);
ASSERT (Status == EFI_SUCCESS || Status == EFI_ALREADY_STARTED);
- //
- // Register UEFI Shell
- //
- PlatformRegisterFvBootOption (
- PcdGetPtr (PcdShellFile), L"EFI Internal Shell", LOAD_OPTION_ACTIVE
- );
}
EFI_STATUS
@@ -1304,6 +1298,13 @@ Routine Description:
EfiBootManagerRefreshAllBootOption ();
+ //
+ // Register UEFI Shell
+ //
+ PlatformRegisterFvBootOption (
+ PcdGetPtr (PcdShellFile), L"EFI Internal Shell", LOAD_OPTION_ACTIVE
+ );
+
SetBootOrderFromQemu (NULL);
}
--
2.8.2

View File

@ -0,0 +1,125 @@
From 72a4f34eab072132652565dd6bed24ec8d553aac Mon Sep 17 00:00:00 2001
From: Gary Lin <glin@suse.com>
Date: Thu, 19 May 2016 11:49:18 +0800
Subject: [PATCH 1/2] NetworkPkg/TcpDxe: Remove the status check of
SockProcessRcvToken
SockProcessRcvToken only returns the number of the received bytes, not
an EFI Status.
Cc: "Siyuan Fu" <siyuan.fu@intel.com>
Cc: "Jiaxin Wu" <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
---
NetworkPkg/TcpDxe/SockInterface.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/NetworkPkg/TcpDxe/SockInterface.c b/NetworkPkg/TcpDxe/SockInterface.c
index 4abda74..1f3524b 100644
--- a/NetworkPkg/TcpDxe/SockInterface.c
+++ b/NetworkPkg/TcpDxe/SockInterface.c
@@ -724,11 +724,7 @@ SockRcv (
}
if (RcvdBytes != 0) {
- Status = SockProcessRcvToken (Sock, RcvToken);
-
- if (EFI_ERROR (Status)) {
- goto Exit;
- }
+ SockProcessRcvToken (Sock, RcvToken);
Status = Sock->ProtoHandler (Sock, SOCK_CONSUMED, NULL);
} else {
--
2.8.2
From 6340f2b8587e85fd094261065831546c84b27926 Mon Sep 17 00:00:00 2001
From: Gary Lin <glin@suse.com>
Date: Fri, 20 May 2016 11:18:16 +0800
Subject: [PATCH 2/2] NetworkPkg/HttpDxe: Don't free Wrap in
HttpTcpReceiveNotifyDpc
The HTTP Token Wrap is created in EfiHttpResponse() and then passed
to the deferred Receive event callback, HttpTcpReceiveNotifyDpc.
HttpTcpReceiveHeader and HttpTcpReceiveBody use a Tcp polling loop to
monitor the socket status and trigger the Receive event when a new
packet arrives. The Receive event brings up HttpTcpReceiveNotifyDpc
to process the HTTP message and the function will set Wrap->TcpWrap.IsRxDone
to TRUE to break the Tcp polling loop.
However, HttpTcpReceiveNotifyDpc mistakenly freed Wrap, so the Tcp
polling loop was actually checking a dead variable, and this led the
system into an unstable status.
Given the fact that the HTTP Token Wrap will be freed in EfiHttpResponse
or HttpResponseWorker, this commit removes every "FreePool (Wrap)" in
HttpTcpReceiveNotifyDpc.
v2:
* Free Wrap after HttpTcpReceiveBody returns normally.
Cc: "Wu, Jiaxin" <jiaxin.wu@intel.com>
Cc: "Siyuan Fu" <siyuan.fu@intel.com>
Cc: "El-Haj-Mahmoud, Samer" <samer.el-haj-mahmoud@hpe.com>
Cc: "Laszlo Ersek" <lersek@redhat.com>
Cc: "Hegde, Nagaraj P" <nagaraj-p.hegde@hpe.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
---
NetworkPkg/HttpDxe/HttpImpl.c | 1 +
NetworkPkg/HttpDxe/HttpProto.c | 4 ----
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/NetworkPkg/HttpDxe/HttpImpl.c b/NetworkPkg/HttpDxe/HttpImpl.c
index dd10f82..f4ae28a 100644
--- a/NetworkPkg/HttpDxe/HttpImpl.c
+++ b/NetworkPkg/HttpDxe/HttpImpl.c
@@ -1237,6 +1237,7 @@ HttpResponseWorker (
goto Error;
}
+ FreePool (Wrap);
return Status;
Exit:
diff --git a/NetworkPkg/HttpDxe/HttpProto.c b/NetworkPkg/HttpDxe/HttpProto.c
index f3992ed..afa7fe4 100644
--- a/NetworkPkg/HttpDxe/HttpProto.c
+++ b/NetworkPkg/HttpDxe/HttpProto.c
@@ -152,7 +152,6 @@ HttpTcpReceiveNotifyDpc (
if (EFI_ERROR (Wrap->TcpWrap.Rx6Token.CompletionToken.Status)) {
Wrap->HttpToken->Status = Wrap->TcpWrap.Rx6Token.CompletionToken.Status;
gBS->SignalEvent (Wrap->HttpToken->Event);
- FreePool (Wrap);
return ;
}
@@ -162,7 +161,6 @@ HttpTcpReceiveNotifyDpc (
if (EFI_ERROR (Wrap->TcpWrap.Rx4Token.CompletionToken.Status)) {
Wrap->HttpToken->Status = Wrap->TcpWrap.Rx4Token.CompletionToken.Status;
gBS->SignalEvent (Wrap->HttpToken->Event);
- FreePool (Wrap);
return ;
}
}
@@ -234,8 +232,6 @@ HttpTcpReceiveNotifyDpc (
// Check pending RxTokens and receive the HTTP message.
//
NetMapIterate (&Wrap->HttpInstance->RxTokens, HttpTcpReceive, NULL);
-
- FreePool (Wrap);
}
/**
--
2.8.2

92
ovmf-dxe-10mb.patch Normal file
View File

@ -0,0 +1,92 @@
From 7d2287c1a376ac012828bbf8aa4c847661b9fffb Mon Sep 17 00:00:00 2001
From: Gary Lin <glin@suse.com>
Date: Wed, 4 May 2016 15:26:16 +0800
Subject: [PATCH] OvmfPkg: raise DXEFV size to 10 MB
---
OvmfPkg/OvmfPkgIa32.fdf | 6 +++---
OvmfPkg/OvmfPkgIa32X64.fdf | 6 +++---
OvmfPkg/OvmfPkgX64.fdf | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf
index 2e2e8a1..8f6f5fa 100644
--- a/OvmfPkg/OvmfPkgIa32.fdf
+++ b/OvmfPkg/OvmfPkgIa32.fdf
@@ -67,10 +67,10 @@ [FD.OVMF_CODE]
[FD.MEMFD]
BaseAddress = $(MEMFD_BASE_ADDRESS)
-Size = 0xA00000
+Size = 0xB00000
ErasePolarity = 1
BlockSize = 0x10000
-NumBlocks = 0xA0
+NumBlocks = 0xB0
0x000000|0x006000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
@@ -91,7 +91,7 @@ [FD.MEMFD]
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
FV = PEIFV
-0x100000|0x900000
+0x100000|0xA00000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
FV = DXEFV
diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf
index 9d04543..5909bae 100644
--- a/OvmfPkg/OvmfPkgIa32X64.fdf
+++ b/OvmfPkg/OvmfPkgIa32X64.fdf
@@ -67,10 +67,10 @@ [FD.OVMF_CODE]
[FD.MEMFD]
BaseAddress = $(MEMFD_BASE_ADDRESS)
-Size = 0xA00000
+Size = 0xB00000
ErasePolarity = 1
BlockSize = 0x10000
-NumBlocks = 0xA0
+NumBlocks = 0xB0
0x000000|0x006000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
@@ -91,7 +91,7 @@ [FD.MEMFD]
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
FV = PEIFV
-0x100000|0x900000
+0x100000|0xA00000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
FV = DXEFV
diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf
index 39fbdb5..b3ffee0 100644
--- a/OvmfPkg/OvmfPkgX64.fdf
+++ b/OvmfPkg/OvmfPkgX64.fdf
@@ -67,10 +67,10 @@ [FD.OVMF_CODE]
[FD.MEMFD]
BaseAddress = $(MEMFD_BASE_ADDRESS)
-Size = 0xA00000
+Size = 0xB00000
ErasePolarity = 1
BlockSize = 0x10000
-NumBlocks = 0xA0
+NumBlocks = 0xB0
0x000000|0x006000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
@@ -91,7 +91,7 @@ [FD.MEMFD]
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
FV = PEIFV
-0x100000|0x900000
+0x100000|0xA00000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
FV = DXEFV
--
2.8.1

View File

@ -1,4 +1,4 @@
From c6de8d0e43fb1c0709d938d8951d7bdefb314bcf Mon Sep 17 00:00:00 2001
From 6bf96df236dbe46c1e4591b6a59553928bfd603c Mon Sep 17 00:00:00 2001
From: Gary Ching-Pang Lin <glin@suse.com>
Date: Fri, 10 May 2013 10:27:51 +0800
Subject: [PATCH 1/2] Add a stub to allow keys to be embedded at build time
@ -18,7 +18,7 @@ Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
create mode 100644 SecurityPkg/Library/AuthVariableLib/Default_PK.h
diff --git a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c
index dee5e1d..91f361c 100644
index c4fbb64..9e12588 100644
--- a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c
+++ b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c
@@ -23,6 +23,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@ -32,8 +32,8 @@ index dee5e1d..91f361c 100644
///
/// Global database array for scratch
@@ -144,6 +148,11 @@ AuthVariableLibInitialize (
UINTN CtxSize;
@@ -147,6 +151,11 @@ AuthVariableLibInitialize (
UINT8 SecureBootEnable;
UINT8 CustomMode;
UINT32 ListSize;
+ EFI_SIGNATURE_LIST *SigCert;
@ -44,7 +44,7 @@ index dee5e1d..91f361c 100644
if ((AuthVarLibContextIn == NULL) || (AuthVarLibContextOut == NULL)) {
return EFI_INVALID_PARAMETER;
@@ -160,6 +169,177 @@ AuthVariableLibInitialize (
@@ -163,6 +172,177 @@ AuthVariableLibInitialize (
return EFI_OUT_OF_RESOURCES;
}
@ -223,7 +223,7 @@ index dee5e1d..91f361c 100644
// Reserve runtime buffer for public key database. The size excludes variable header and name size.
//
diff --git a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
index 07a3ed5..477ddcb 100644
index 572ba4e..1a46019 100644
--- a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
+++ b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
@@ -33,6 +33,10 @@ [Sources]
@ -270,10 +270,10 @@ index 0000000..23b90e4
+unsigned char *Default_PK = NULL;
+unsigned int Default_PK_len = 0;
--
2.6.3
2.8.1
From 75090a7df9e83c068807ee413862128d59569a39 Mon Sep 17 00:00:00 2001
From a627dbe16f6ebe1a1f294c82c30f7ad9745baf04 Mon Sep 17 00:00:00 2001
From: Gary Lin <glin@suse.com>
Date: Tue, 15 Dec 2015 16:54:54 +0800
Subject: [PATCH 2/2] Add DB_EX to include one more DB cert
@ -286,7 +286,7 @@ Signed-off-by: Gary Lin <glin@suse.com>
create mode 100644 SecurityPkg/Library/AuthVariableLib/Default_DB_EX.h
diff --git a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c
index 91f361c..490ec7a 100644
index 9e12588..523b0e4 100644
--- a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c
+++ b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c
@@ -26,6 +26,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@ -297,7 +297,7 @@ index 91f361c..490ec7a 100644
#include "Default_DBX.h"
///
@@ -280,19 +281,25 @@ AuthVariableLibInitialize (
@@ -283,19 +284,25 @@ AuthVariableLibInitialize (
&DataSize
);
if (Status == EFI_NOT_FOUND) {
@ -326,7 +326,7 @@ index 91f361c..490ec7a 100644
SigCert->SignatureHeaderSize = 0;
SigCert->SignatureSize = (UINT32) (sizeof(EFI_SIGNATURE_DATA) - 1 + Default_DB_len);
CopyGuid (&SigCert->SignatureType, &gEfiCertX509Guid);
@@ -301,11 +308,23 @@ AuthVariableLibInitialize (
@@ -304,11 +311,23 @@ AuthVariableLibInitialize (
CopyGuid (&SigCertData->SignatureOwner, SignatureGUID);
CopyMem ((UINT8* ) (SigCertData->SignatureData), Default_DB, Default_DB_len);
@ -360,5 +360,5 @@ index 0000000..001f125
+unsigned char *Default_DB_EX = NULL;
+unsigned int Default_DB_EX_len = 0;
--
2.6.3
2.8.1

View File

@ -1,3 +1,740 @@
-------------------------------------------------------------------
Tue May 24 04:08:49 UTC 2016 - glin@suse.com
- Add the commands to remove irrelevant packages in %prep to make
sure those source code will never build. (bsc#973038)
-------------------------------------------------------------------
Fri May 20 09:16:49 UTC 2016 - glin@suse.com
- Add ovmf-bsc980635-fix-http-crash.patch to fix the crash when
downloading files from the http server (bsc#980635)
-------------------------------------------------------------------
Wed May 11 07:39:16 UTC 2016 - glin@suse.com
- Update to 2015+git1462940744.321151f
+ BaseTools: Fix bug in GenFds to handle FV image alignment
+ SecurityPkg: SecureBootConfigDxe: Add NULL pointer check
+ OvmfPkg/PciHostBridgeLib: Scan for root bridges when running
over Xen
+ OvmfPkg/PciHostBridgeLib: Change InitRootBridge prototype
+ MdeModulePkg/PciHostBridgeDxe: Honor ResourceAssigned
+ OvmfPkg/PciHostBridgeLib: Set correct Base/Limit for absent
resource
+ MdeModulePkg/PciHostBridgeDxe: Fix a Base/Limit comparing bug
+ MdeModulePkg/PciHostBridgeDxe: Don't miss prefetchable MMIO
aperture
+ ArmVirtPkg: set PcdMaxVariableSize and PcdMaxAuthVariableSize
+ ArmPkg/AArch64Mmu: don't let table entries inherit XN
permission bits
+ ArmPkg/ArmDmaLib: do not remap arbitrary memory regions as
uncached
+ ArmPkg/ArmDmaLib: reject consistent DMA mappings of cached
memory
+ MdeModulePkg/PciSioSerialDxe: Do not flush the UART
+ MdeModulePkg RamDiskDxe: Fix wrong HII behavior for more than 8
RAM disks
+ OvmfPkg: Modify FDF/DSC files for RamDiskDxe's adding NFIT
report feature
+ MdeModulePkg RamDiskDxe: Report ACPI NFIT for reserved memory
RAM disks
+ ArmVirtPkg/ArmVirtQemu: use MdeModulePkg/BDS
+ Ignore BootFileName if it is overloaded (HTTP Boot/PXE)
+ NetworkPkg: Fix a memory leak in HTTP boot driver
+ NetworkPkg/HttpBootDxe: Fix for the issue that the HTTP boot
option can't be booted more than once
+ deModulePkg NvmExpressDxe: Initialize IoAlign info for an NVMe
device
+ MdeModulePkg: Refine SNP driver's media status check logic
+ MdeModulePkg: ScsiDiskDxe: cope with broken "Supported VPD Pages"
VPD page
+ MdeModulePkg FileExplorerLib: Add UefiHiiServicesLib dependency
+ SecurityPkg: SecureBootConfigDxe: Disable SecureBoot
Enable/Disable in some case
+ Do not use hard coded TTL/ToS in PXE driver
+ NetworkPkg: Use UefiBootManagerLib API to create load option
+ Remove DeployedMode/AuditMode
+ OvmfPkg: Use MdeModulePkg/BDS
+ ArmPlatformPkg/PrePi: allow unicore version to be used on MP
hardware
+ ArmPkg: implement CpuIo2 protocol driver specific for PCI
+ ArmPlatformPkg: move PCI related PCD definitions to ArmPkg
+ MdeModulePkg/DxeCore: set ImageContext Handle and ImageRead()
fields
+ MdeModulePkg/PciBusDxe: don't create bogus descriptor if no
resources needed
+ MdeModulePkg: Add new driver to publish EDKII_PI_SMM_COMMUNICATION_REGION_TABLE
+ SecuritPkg: DxeImageVerificationLib: Fix wrong verification
logic in DBX & DBT
+ UefiCpuPkg/MtrrLib: Reduce the loop time to get fixed-MTRR MSR
index
+ MdeModulePkg: PiDxeS3BootScriptLib: honor PcdAcpiS3Enable
+ NetworkPkg: Fix incorrect buffer free in HttpDxe
+ NetworkPkg: Avoid the indefinite wait case in HttpDxe
+ MdeModulePkg: DxeCore MemoryPool Algorithm Update
+ MdeModulePkg: Export ConfigResp only for form Package after
ReadyToBoot
+ NetworkPkg:HttpDxe:Consume DxeHttpLib API changes
+ MdeModulePkg:DxeHttpLib: Update to DxeHttpLib API
+ NetworkPkg: Allow user to create a HTTP corporate boot option
in setup page
+ MdePkg:Http11.h: Add defines for "Expect" header
+ BaseTools: Update FMP Capsule support to follow FDF spec
+ OvmfPkg: SataControllerDxe: SataControllerStop: fix use after
free
+ OvmfPkg: SataControllerDxe: SataControllerStop: remove useless
null check
+ MdeModulePkg DxeCore: Check free memory type by CoreUpdateProfile()
+ MdeModulePkg/NvmExpress: Fix bug of handling not
null-terminated strings
+ ShellPkg: Enahance 'dh' command to add more protocols decoding
support
+ MdeModulePkg/DxeCore: Avoid assertion in CoreLocateProtocol
+ MdeModulePkg: Correct PlatformHookLibSerialPortPpi module type
+ FatPkg: Update License.txt to have the full license text
+ refine codes of iSCSI driver
+ MdeModulePkg DxeCore: Enhance MemoryAttributesTable installation
+ MdeModulePkg DxeCore: Return memory type from internal free
pool/pages
+ MdeModulePkg DxeCore: Fix a memory leak in
InstallMemoryAttributesTable()
+ MdeModulePkg DxeCore: Call PeCoffExtraActionLib member after
Constructor
+ MdeModulePkg/Usb: Fix wrong condition judgment to support
usb3.1 dev
+ MdeModulePkg/UsbKbDxe: don't assert when the key read is
invalid
+ BaseTools: Add mixed PCD support feature
+ OvmfPkg: AcpiPlatformDxe: Don't enable unsupported PCI
attributes
+ MdeModulePkg/HiiDatabaseDxe: Support EfiVarStore to get AltCfg
from Driver
+ MdeModulePkg/HiiDatabaseDxe: Correct the ReallocatePool size
+ MdeModulePkg/SetupBrowserDxe: Get default from callback for
orderedList
+ SecurityPkg: AuthVariableLib & SecureBootConfigDxe:
Fix SecureBootEnable & PK inconsistency issue
+ ShellPkg: Update ping command options to sync with Spec
+ MdeModulePkg NvmExpressDxe: Ensure write-through for NVMe write
command
+ ShellPkg: Cache the environment variable into memory to enhance
the performance.
+ BaseTools: Update to handle PE image with .code section only
+ ArmPkg/AArch64Mmu: disable MMU during page table manipulations
+ ArmPkg/AArch64Mmu: Fix XN attribute for device memory
+ NetworkPkg: Fix issue in Ip6Dxe SetData
- The updated tarball includes the PCI host bridge fix for Xen
(bsc#976253)
- Add ovmf-dxe-10mb.patch to raise DXEFV to 10MB to avoid build
error.
- Add ovmf-bsc976253-postpone-shell.patch to postpone the creation
of the shell boot option so that the firmware will try the block
devices first. (bsc#976253)
- Update README for Xen debugging.
-------------------------------------------------------------------
Thu Apr 21 11:21:59 UTC 2016 - agraf@suse.com
- Add patch to enable PCI BAR probing on ARM again:
* ArmVirtPkg-Enable-PCI-bus-probing-again.patch
-------------------------------------------------------------------
Fri Apr 15 01:58:59 UTC 2016 - glin@suse.com
- Change the fat driver license to the BSD license in FatPkg
instead of the proprietary license in FatBinPkg since OvmfPkg and
ArmVirtPkg now use FatPkg (bsc#973038)
-------------------------------------------------------------------
Thu Apr 14 03:39:34 UTC 2016 - glin@suse.com
- Update to 2015+git1460599637.f70cfe7
+ MdeModulePkg S3SaveStateDxe: Add protocol usage for gEfiLockBoxProtocolGuid
+ ArmVirtPkg/VirtFdtDxe: remove Xenio handling and rename to VirtioFdtDxe
+ ArmVirtPkg/ArmVirtXen: move from VirtFdtDxe to new XenioFdtDxe driver
+ OvmfPkg/XenIoMmioLib: add missing MemoryAllocationLib dependency to INF
+ ArmVirtPkg/VirtFdtDxe: move FDT config table installation to FdtClientDxe
+ ArmVirtPkg/VirtFdtDxe: remove unused PL011 DT node type
+ ArmVirtPkg: get rid of A PRIORI DXE declarations for VirtFdtDxe
+ ArmVirtPkg/VirtFdtDxe: drop RTC handling
+ ArmVirtPkg: move QEMU based platforms to ArmVirtPL031FdtClientLib
+ ArmVirtPkg: implement ArmVirtPL031FdtClientLib
+ ArmVirtPkg/RelocatableVirtHelper: use correct FindMemNode argument order
+ IntelFrameworkModulePkg: Remove unused PCD/Protocol
+ IntelFrameworkModulePkg/KeyboardDxe: Use PCD defined in MdeModulePkg
+ IntelFrameworkModulePkg/Ps2Mouse: Use PCD defined in MdeModulePkg
+ IntelFrameworkModulePkg/Ps2AbsPointer: Use PCD defined in MdeModulePkg
+ IntelFrameworkModulePkg/Ps2Kbd: use PCD/Protocol in MdeModulePkg
+ MdeModulePkg/MdeModulePkg.uni: Add PS2 related PCD description
+ MdeModulePkg/Ps2MouseDxe: Use a different FILE_GUID
+ MdeModulePkg/Ps2KeyboardDxe: Use a different FILE_GUID
+ MdeModulePkg/Ps2Mouse: Fix potential buffer overflow issue.
+ MdeModulePkg: Update Guid/Protocol usages in INF files.
+ ShellPkg: Update Guid/Protocol usages in INF files.
+ SecurityPkg: Update protocol usage in module INF files.
+ MdePkg: Add EFI Erase Block Protocol definitions
+ MdeModulePkg/Ps2MouseDxe: Fix build failure of GCC tool chain
+ ArmVirtPkg/VirtFdtDxe: drop PCI host bridge handling
+ ArmVirtPkg/PciHostBridgeDxe: move to FDT client protocol
+ ArmVirtPkg/BaseCachingPciExpressLib: depend on PciPcdProducerLib
+ ArmVirtPkg: implement FdtPciPcdProducerLib
+ ArmVirtPkg/VirtFdtDxe: remove handling of fw_cfg DT node
+ ArmVirtPkg/QemuFwCfgLib: move to FDT client protocol
+ BaseTools: use unsigned chars on ARM architectures
+ BaseTools: generate hash value in build report for each output EFI image
+ BaseTools/VolInfo: generate HASH value for each PE image
+ ArmVirtPkg/VirtFdtDxe: remove timer DT node handling
+ ArmVirtPkg: move TimerDxe to FDT client library
+ ArmVirtPkg: implement ArmVirtTimerFdtClientLib
+ ArmVirtPkg/VirtFdtDxe: drop detection of PSCI method
+ ArmVirtPkg/ArmVirtPsciResetSystemLib: move to FDT client protocol
+ ArmVirtPkg/VirtFdtDxe: remove GIC discovery
+ ArmVirtPkg/ArmGicArchLib: move to FdtClient protocol
+ ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms
+ ArmVirtPkg/FdtClientDxe: implement new driver
+ ArmVirtPkg: introduce FdtClientProtocol
+ UefiCpuPkg: CpuIo2Dxe: optimize FIFO reads and writes of IO ports
+ MdeModulePkg: Update PerformanceLib instances not to check Identifier.
+ MdePkg: Update PerformanceLib comments not to check Identifier.
+ Update edksetup.bat to check EDK_TOOLS_PATH before set it.
+ MdeModulePkg/Ps2Keyboard: Add missing PCD and protocol to DEC file
+ UefiCpuPkg/CpuMpPei: Fix potential AP mwait wakeup issue
+ NetworkPkg: Add RAM disk boot support to HTTP Boot driver.
+ ShellPkg: Fix Shell ASSERT when mv file with cwd is NULL.
+ MdeModulePkg BootScriptExecutorDxe: Consume PcdAcpiS3Enable to control the code
+ MdeModulePkg SmmS3SaveStateDxe: Consume PcdAcpiS3Enable to control the code
+ MdeModulePkg: Add new macros and refine codes
+ NetworkPkg: Add new macros and refine codes
+ MdeModulePkg: Add Ps2MouseDxe driver
+ MdeModulePkg: Add Ps2KeyboardDxe driver.
+ MdeModulePkg/UefiBootManagerLib: API BmIsValidLoadOptionVariableName
+ SecurityPkg OpalPasswordDxe: Clean up debug message in OpalHii.c
+ SecurityPkg TcgStorageOpalLib: Fix wrong condition judgment.
+ SecurityPkg OpalPasswordDxe: Suppress option for special device.
+ OvmfPkg: remove PciHostBridgeDxe fork
+ OvmfPkg: remove USE_OLD_PCI_HOST build option
+ OvmfPkg: Convert to using FatPkg in the EDK II tree
+ ArmVirtPkg: Convert to build FatPkg from source
+ ArmVirtPkg: drop dependency on PeiPcdLib for PEI Pcd.inf
+ ArmVirtPkg: drop dependency on DxePcdLib for DXE Pcd.inf
+ IntelFrameworkModulePkg AcpiS3SaveDxe: Remove S3Ready() functional code
+ IntelFrameworkModulePkg AcpiS3SaveDxe: Consume PcdAcpiS3Enable to control the code
+ OvmfPkg: Retire AcpiS3SaveDxe
+ MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code from AcpiS3SaveDxe
+ MdeModulePkg S3SaveStateDxe: Consume PcdAcpiS3Enable to control the code
+ OvmfPkg: Install LockBox protocol in constructor of LockBoxDxeLib
+ OvmfPkg: Set PcdAcpiS3Enable according to QemuFwCfgS3Enabled()
+ MdeModulePkg: Introduce new PCD PcdAcpiS3Enable
+ ArmVirtPkg: drop bogus ArmPlatformSecExtraActionLib resolution
+ ArmVirtPkg: remove linux loader from ARM builds
+ Merge 2-clause BSD licensed FatPkg
+ BaseTools: Add support to merge Prebuild and Postbuild into build Process
+ BaseTools: Enhance --Pcd which override by build option
+ MdeModulePkg/Bds: Fix build failures of VS tool chain
+ OvmfPkg: disable PcdHiiOsRuntimeSupport
+ OvmfPkg: remove PcdMaxHardwareErrorVariableSize from the DSC files
+ ArmVirtPkg: include Virtio10Dxe from OvmfPkg
+ OvmfPkg: include Virtio10Dxe
+ OvmfPkg: Virtio10Dxe: non-transitional driver for virtio-1.0 PCI devices
+ OvmfPkg: VirtioNetDxe: adapt virtio-net packet header size to virtio-1.0
+ OvmfPkg: VirtioScsiDxe: adapt feature negotiation to virtio-1.0
+ OvmfPkg: VirtioRngDxe: adapt feature negotiation to virtio-1.0
+ OvmfPkg: VirtioNetDxe: adapt feature negotiation to virtio-1.0
+ OvmfPkg: VirtioBlkDxe: adapt feature negotiation to virtio-1.0
+ OvmfPkg: VirtioLib: add Virtio10WriteFeatures() function
+ OvmfPkg: IndustryStandard: add definitions from the VirtIo 1.0 spec
+ OvmfPkg: IndustryStandard: factor out Virtio095Net.h
+ OvmfPkg: IndustryStandard: factor out Virtio095.h
+ OvmfPkg: VirtioRngDxe: clear all feature bits more explicitly
+ OvmfPkg: VirtioBlkDxe: don't clear non-negotiable feature bits
+ OvmfPkg: VIRTIO_DEVICE_PROTOCOL: pass VRING object to SetQueueAddress()
+ OvmfPkg: VIRTIO_DEVICE_PROTOCOL: remove GetQueueAddress() member
+ OvmfPkg: VIRTIO_DEVICE_PROTOCOL: widen the Features bitmap to 64 bits
+ MdeModulePkg/Bds: Fix a boot hang due to Ram Disk boot support
+ BaseTools: cache the defined Guid tool to improve the performance
+ MdeModulePkg/Bds: Memory Bins don't count the memory used by RAM Disk
+ MdeModulePkg/Bds: Free resources after ram disk boot finishes
+ MdeModulePkg/Bds: Allocate reserved memory for RAM Disk boot media
+ SecurityPkg OpalPasswordSupportLib: Add comments for the used protocol in inf file.
+ SecurityPkg OpalPasswordSupportLib: Remove the hard code debug build option.
+ SecurityPkg OpalPasswordSupportLib: Fixed gcc build failure.
+ SecurityPkg TcgStorageOpalLib: Fixed gcc build failure.
+ SecurityPkg OpalPasswordDxe: Check the pointer before use it.
+ SecurityPkg TcgStorageOpalLib: Remove the hard code debug build option.
+ SecurityPkg OpalPasswordDxe: Remove the hard code debug build option.
+ SecurityPkg OpalPasswordSmm: Remove the hard code build option.
+ MdePkg Cper.h: Add missing structure for 'Processor Error Record'
+ SourceLevelDebugPkg/SmmDebugAgent: mMailboxPointer is used before set
+ MdePkg/MdePkg.uni: Add description for PcdUartDefaultReceiveFifoDepth
+ MdePkg/BaseSynchronizationLib: Add spin lock alignment for IA32/x64
+ MdePkg/BaseSynchronizationLib: Do not check timeout if lock released
+ BaseTools/GenFds: Fix the bug for wrong alignment generate for RAW file
+ MdeModulePkg/UiApp: Correct the total RAM calculation
+ IntelFrameworkModulePkg/Bds: Correct the total RAM calculation
+ MdeModulePkg: DxeUdpIoLib: fix non-empty payload path in UDP reception
+ OvmfPkg: Add RAM disk support
+ ArmPkg/ArmArchTimerLib: correct typos
+ ArmPkg/ArmArchTimerLib: fix unused variable in RELEASE builds
+ EmbeddedPkg/AcpiLib: fix SBSA Generic Watchdog helper definition
+ ArmPlatformPkg: Add PCD for Pl011 UART Interrupt
+ MdePkg: Add ARM Serial Port Subtypes to DBG2
+ MdePkg: Add ARM Serial Port Subtype definitions
+ ArmVirtPkg: disable PcdHiiOsRuntimeSupport
+ ArmPkg/ArmArchTimerLib: add GetTimeInNanoSecond() to ArmArchTimerLib
+ ArmPkg/ArchArmTimerLib: refactor MultU64xN and TimerFreq definitions
+ NetworkPkg: Check received packet size before use it.
+ MdeModulePkg: Check received packet size before use it.
+ NetworkPkg: Check pointer for NULL before use.
+ Revert "TerminalDxe: select the UART's default receive FIFO depth"
+ ArmVirtPkg/ArmVirtQemu: gate FDT config table install with build option
+ ArmVirtPkg/VirtFdtDxe: make installation of FDT as config table optional
+ MdeModulePkg RamDiskDxe: Fix incorrect RAM disk memory address calculation
+ MdeModulePkg EmmcDxe: Fix GCC build failure with set but unused variables
+ SecurityPkg: Tcg2Dxe: Fix undersized TempBuf
+ MdeModulePkg/UefiBootManagerLib: BmGetActiveConsoleIn code cleanup
+ MdeModulePkg/SdMmc: Add EDKII SD/MMC stack
+ MdePkg/IndustryStandard: Add SD/EMMC common definitions
+ MdePkg/DevicePath: Add EMMC device path definition
+ MdePkg: Add EFI_SD_MMC_PASS_THRU_PROTOCOL definition
+ UefiCpuPkg/Cpuid.h: Display Intel SGX Resource Enumeration Leaves
+ UefiCpuPkg/Cpuid.h: Add CPUID defines and structures for Intel SGX
+ ShellPkg: Refine the comparisons code in ShellPkg.
+ MdeModulePkg PartitionDxe: Add Re-entry handling logic for BindingStop
+ SecurityPkg: Enable Opal password solution build.
+ SecurityPkg: OpalPasswordSmm: Add Opal password Smm driver.
+ SecurityPkg: OpalPasswordDxe: Add Opal password dxe driver.
+ SecurityPkg: OpalPasswordSupportLib: Add Opal password support library.
+ SecurityPkg: TcgStorageOpalLib: Add TCG storage opal library.
+ SecurityPkg: TcgStorageCoreLib: Add TCG storage core library.
+ MdePkg: Add definition for TCG Storage Core and Opal specs.
+ BaseTools: Add two new sections for PCD in the build report
+ MdeModulePkg/SerialDxe: Set FIFO depth with PCD
+ MdePkg: Add PCD for UART default receive FIFO depth
+ MdeModulePkg DiskIoDxe: Media status check not be done at DiskIo level
+ MdeModulePkg PartitionDxe: Some ISO images cannot be recognized properly
+ MdeModulePkg ScsiDiskDxe: Fix hang issue when reconnecting an ISCSI device
+ PcAtChipsetPkg/PciHostBridge: Remove PciHostBridge driver
+ ShellPkg/UefiDpLib: Fix a memory leak issue in Dp.
+ PerformancePkg/Dp_App: Fix a memory leak issue in Dp.
+ BaseTools: Remove the unnecessary check for RAW File
+ BaseTools: generate alignment when the FV content come from the filesystem
+ BaseTools: Extend the RAW format to support multiple binary files
+ ShellPkg AARCH64: remove DEBUG BuildOptions override
+ BaseTools AARCH64: move DEBUG GCC49 to the small code model
+ OvmfPkg: Increase the maximum size for Authenticated variables
+ BaseTools/GCC: set -Wno-unused-but-set-variables only on RELEASE builds
+ UefiCpuPkg: CpuMpPei: remove set but unused variables
+ UefiCpuPkg: PiSmmCpuDxeSmm: remove set but unused variables
+ UefiCpuPkg/MtrrLib: remove unused but set variable
+ NetworkPkg: IpSecDxe: remove set but unused variables
+ MdeModulePkg: DeviceManagerUiLib: remove set but unused variables
+ MdeModulePkg: BootMaintenanceManagerUiLib: remove set but unused variables
+ MdeModulePkg: UfsPassThruDxe: remove set but unused variables
+ MdeModulePkg: BootManagerMenuApp: remove set but unused variables
+ MdeModulePkg/PciHostBridgeDxe: remove unused but set variables
+ IntelFspWrapperPkg: PeiFspHobProcessLibSample: remove set but unused variables
+ IntelFrameworkModulePkg: LegacyBootMaintUiLib: remove set but unused variables
+ IntelFrameworkModulePkg: DxeCapsuleLib: remove set but unused variables
+ IntelFrameworkModulePkg: BiosVideo: remove set but unused variable
+ EmulatorPkg: CpuRuntimeDxe: remove set but unused variables
+ EdkCompatibilityPkg: SmmBaseHelper: remove set but unused variables
+ EdkCompatibilityPkg: EdkIIGlueLib: remove set but unused variables
+ EdkCompatibilityPkg: BsSerialStatusCode: remove set but unused variable
+ EdkCompatibilityPkg: UefiEfiIfrSupportLib: remove set but not used variables
+ ArmPkg|EmbeddedPkg: make PcdCpuVectorBaseAddress 64 bits wide
+ ArmPlatformPkg: fixups for 64-bit pointers
+ ArmPkg: apply Cortex-A57 errata
+ NetworkPkg:Fix bug when parsing the dhcp6 option 16
+ NetworkPkg:Fix Http boot download issue.
+ ShellPkg/UefiHandleParsingLib: Fix GUID reference
+ BaseTools: Updated BuildNotes URLs
+ MdeModulePkg/RamDiskDxe: Fix typo in HII message
+ SecurityPkg/SecureBootConfigDxe: Remove type casting from the ChooseFile handlers
+ SecurityPkg/SecureBootConfigDxe: Declare EFIAPI for the ChooseFile handlers
+ ShellPkg/UefiShellDebug1CommandsLib: remove unused but set variable
+ MdeModulePkg/PciBus: Should reserve enough bus number for HPC
+ MdeModulePkg/Bds: Fix VS2012 build failure.
+ ShellPkg: Modify the 'dh' Shell command to dump the Firmware Management Protocol Image Descriptor Information.
+ MdePkg: Move SMBIOS data into the IndustryStandard header.
+ ShellPkg: Make the USB mouse behavior in 'edit' consistent with 'hexedit'.
+ NetworkPkg: Fix HII related problem in HTTP boot driver.
+ MdeModulePkg/FileExplorerLib.h: Remove the redefinition of typedefs
+ OvmfPkg: PciHostBridgeLib: install 64-bit PCI host aperture
+ OvmfPkg: PlatformPei: determine the 64-bit PCI host aperture for X64 DXE
+ OvmfPkg: PlatformPei: factor out GetFirstNonAddress()
+ OvmfPkg: AcpiPlatformDxe: enable PCI IO and MMIO while fetching QEMU tables
+ OvmfPkg: AcpiPlatformDxe: when PCI is enabled, wait for Platform BDS's cue
+ ArmVirtPkg: PlatformIntelBdsLib: signal gRootBridgesConnectedEventGroupGuid
+ OvmfPkg: PlatformBdsLib: signal gRootBridgesConnectedEventGroupGuid
+ OvmfPkg: introduce gRootBridgesConnectedEventGroupGuid
+ OvmfPkg: OvmfPkg.dec: add horizontal whitespace under Guids and Protocols
+ OvmfPkg/PlatformBdsLib: rebase to EfiEventGroupSignal
+ ArmVirtPkg/PlatformIntelBdsLib: rebase to EfiEventGroupSignal
+ IntelFrameworkPkg/FrameworkUefiLib: implement EfiEventGroupSignal
+ IntelFrameworkPkg/FrameworkUefiLib: move InternalEmptyFunction to UefiLib.c
+ MdePkg/UefiLib: introduce EfiEventGroupSignal
+ MdePkg/UefiLib: move InternalEmptyFunction to UefiLib.c
+ BaseTools: not include the undefined macro in response file
+ MdeModulePkg/BootMaintenanceManagerUiLib: Remove type casting in ChooseFile
+ MdeModulePkg/BootMaintManagerUiLib: Declare EFIAPI for ChooseFile handler
+ MdeModulePkg RamDiskDxe: Remove unnecessary TPL raise operations
+ MdeModulePkg RamDiskDxe: Uninstall DEVICE_PATH_PROTOCOL with correct param
+ MdeModulePkg RamDiskDxe: Remove unnecessary 'DisconnectController' calls
+ MdeModulePkg/Bds: BDS hotkey shouldn't work on inactive consoles
+ ArmPkg/AArch64Mmu: use correct AP[] bits in ArmClearMemoryRegionReadOnly
+ ArmPkg/ArmExceptionLib: reimplement register stack/unstack routines
+ ArmPkg/ArmExceptionLib: avoid indirect call if using vector table in place
+ ArmPkg/ArmExceptionLib: make build time define visible to the compiler
+ ArmPkg/ArmExceptionLib: don't restore ESR and FAR upon exception return
+ ArmPkg/ArmExceptionLib: stack FPSR on common path
+ ArmPkg/ArmExceptionLib: fold exception handler prologue into vector table
+ ArmPkg/AsmMacroIoLibV8: remove undocumented assumption from ELx macros
+ BaseTools: Fix nmake failure due to command-line length limitation
+ MdePkg/Pci22.h: Fix a coding style issue
+ MdeModulePkg DxeCore: Address boundary check for Type AllocateAddress
+ MdeModulePkg DxeCore: Check Start consistently in CoreConvertPagesEx
+ OvmfPkg/PlatformPei: suppress wrong VS2008 warning (use of uninited local)
+ MdeModulePkg PlatformVarCleanupLib: Locate VarCheck protocol when using
+ ArmPkg: update CpuDxe to use CpuExceptionHandlerLib
+ ArmVirtPkg/ArmVirtQemu: move to ARM version of CpuExceptionHandlerLib
+ ShellPkg: Remove the unused local variable.
+ MdeModulePkg: Fixed incorrect return value of MatchString
+ MdeModulePkg: ConSplitterDxe: use U64 mult/div wrappers in AbsPtr scaling
+ ArmPkg: ARM/AArch64 implementation of CpuExceptionHandlerLib
+ ArmPkg/ArmLib: add ArmReadHcr to enable read-modify-write of HCR
+ MdeModulePkg: Rescale ConSplitter Absolute Pointer.
+ ShellPkg: Per UEFI Shell 2.2 SPEC to make Shell supports 'NoNesting'.
+ NetworkPkg: Fix the driver model issue in HTTP Boot driver.
+ MdeModulePkg: Coding style update for DxeHttpLib.inf
+ IntelFrameworkModulePkg/LegacyBootMaintUiLib: Refine the code
+ MdeModulePkg: Refine the UI code
+ MdeModulePkg/DriverSampleDxe: Uninstall the ConfigAccess protocol
+ BaseTools: add new command line option to support override PCD value
- The fix for bsc#973625 is also included in the update tarball
- Remove upstreamed patches:
ovmf-fix-choose-handlers-crash.patch
ovmf-fix-httpboot-driver-option-16.patch
ovmf-fix-httpboot-driver-model.patch
-------------------------------------------------------------------
Fri Apr 1 08:31:57 UTC 2016 - glin@suse.com
- Add ovmf-fix-httpboot-driver-option-16.patch to fix the parsing
of DHCPv6 option 16
-------------------------------------------------------------------
Wed Mar 23 09:22:25 UTC 2016 - glin@suse.com
- Add ovmf-fix-choose-handlers-crash.patch to fix the crash while
selecting files from BootMaintenanceManager and SecureBootConfig
-------------------------------------------------------------------
Wed Mar 16 02:52:06 UTC 2016 - glin@suse.com
- Update to 2015+git1458029440.db27e9f
+ OvmfPkg/LegacyRegion: Support legacy region manipulation of Q35
+ CryptoPkg: Fix the potential system hang issue
+ CryptoPkg/OpensslLib: Upgrade OpenSSL version to 1.0.2g
+ ArmVirtPkg/VirtFdtDxe: set /chosen/linux,pci-probe-only to 1
in DTB
+ OvmfPkg: match PCI config access to machine type
(if not USE_OLD_PCI_HOST)
+ OvmfPkg: add DxePciLibI440FxQ35
+ OvmfPkg: Enable Network2 Shell Commands for IPv6
+ MdeModulePkg AcpiTableDxe: Use Rsdt to check against NULL
+ MdePkg: Fix ACPI NFIT GUID definitions
+ NetworkPkg: Add URI configuration form to HTTP boot driver
+ CryptoPkg/OpensslLib: Switch to upstream fix for OpenSSL
RT#3628, RT#3674, RT#3951, RT#3955, RT#3964, RT#3969, RT#3992,
RT#4175, RT#4310
+ CryptoPkg/OpensslLib: Include complete copy of opensslconf.h
+ SecurityPkg/SecureBootConfigDxe: Handle allocation failure
gracefully
+ MdeModulePkg/Bds: Support booting from remote file system
+ MdeModulePkg/Bds: Wide match HTTP boot option
+ MdeModulePkg: Fix IPv4 double free
+ UefiCpuPkg: Add dynamic type for PcdCpuMaxLogicalProcessorNumber
+ ArmPkg: Configure TTBCR register
+ OvmfPkg: switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe
+ MdeModulePkg: PciHostBridgeDxe: don't assume extended config
space
+ ShellPkg: Update 'ifconfig -r' implementation
+ NetworkPkg: Change the default IPv6 config policy
+ MdeModulePkg: Change the default IPv4 config policy
+ OvmfPkg: copy log level comments from DebugLib.h
+ ArmVirtPkg: sync log level comments to DebugLib.h
+ MdeModulePkg: DxeCore: fully initialize image context before
passing it on
+ MdeModulePkg/NvmExpress: Fix uninitialized field used in NVMe
DiskInfo
+ MdeModulePkg: Add new API HttpUrlGetPath() to HttpLib.h
+ MdeModulePkg: Add RamDiskDxe driver implementation
+ SecurityPkg: Tcg2Smm: Change TPM2.0 MMIO range attribute
+ MdeModulePkg:Fix a robustness issue of Mnp Driver
+ MdeModulePkg: RegularExpressionDxe: support free(NULL)
+ MdeModulePkg/PciHostBridge: Don't assume resources are fully
NonExistent
+ SecurityPkg: Use FileExplorerLib in SecureBootConfigDxe
+ MdeModulePkg: Add ASSERT to make sure pointer 'OptionalData'
not be NULL
+ MdeModulePkg: Add ASSERT to make sure pointer 'MemoryMap' is
not NULL
- Update openssl to 1.0.2g
- Add ovmf-fix-httpboot-driver-model.patch to fix the crash caused
by the httpboot driver.
-------------------------------------------------------------------
Wed Mar 2 04:47:55 UTC 2016 - glin@suse.com
- Add ovmf-tools to package EfiRom (FATE#319531)
-------------------------------------------------------------------
Fri Feb 26 03:19:11 UTC 2016 - glin@suse.com
- Update to 2015+git1456452471.ba33c80
+ CryptoPkg: RuntimeCryptLib: support realloc(NULL, size)
+ CryptoPkg: support free(NULL)
+ MdePkg: Add EFI RAM Disk Protocol definitions
+ MdePkg: Update Http11 with additional useful definitions
+ NetworkPkg: Use Http11 definitions in HttpDxe and HttpBootDxe
+ Add new HII action type EFI_BROWSER_ACTION_SUBMITTED
+ UefiCpuPkg/Cpuid: Add UEFI CPUID application
+ BaseTools/tools_def.txt: Add -march=i586 for IA32 GCC targets
+ MdeModulePkg: Fix Memory Attributes table type issue
+ MdePkg: Add definition for new warning code
EFI_WARN_FILE_SYSTEM
+ OvmfPkg: add driver for Virtio-RNG device
+ ArmVirtPkg: ArmVirtQemu: add driver for Virtio-RNG device
+ OvmfPkg: implement UEFI driver for Virtio RNG devices
+ OvmfPkg: VirtioFlush(): return the number of bytes written by
the host
+ ArmPlatformPkg/IntelBds: call BdsLibConnectAll()
+ ArmVirtPkg/ArmVirtQemu: limit ACPI support to v5.0 and higher
+ MdeModulePkg: AcpiTableDxe: make 4 GB table allocation limit
optional
+ ShellPkg: Support finding help message embedded in resource
section
+ MdeModulePkg/UsbBusDxe: Fix memory leak
+ MdePkg: BaseLib: fix AArch64 DAIF interrupt mask definitions
+ ArmPkg: CpuDxe: don't track interrupt state in a global
variable
+ ArmPkg: CpuDxe: fix AArch64 interrupt read masks
+ MdeModulePkg: Refine the code in BootMaintenanceManagerUiLib
+ MdeModulePkg: HiiDatabaseDxe: HiiStringToImage() should not
overwrite BltX
+ CryptoPkg/OpensslLib: Upgrade OpenSSL version to 1.0.2f
+ UefiCpuPkg/PiSmmCpuDxeSmm: Enable/Restore XD in SMM
+ UefiCpuPkg/PiSmmCpuDxeSmm: Add EFIAPI to CheckFeatureSupported()
+ ArmVirtPkg: ArmVirtQemu: make ACPI support AARCH64 only
+ SecurityPkg: TcgConfigDxe: Move TPM state string update to
CallBack function
+ MdePkg: Fix incorrect PCIe Extended Capabilities definition
+ MdeModulePkg/Partition: Use proper partition number for MBR
+ MdePkg: Change PcdPropertiesTableEnable default value to FALSE
+ ArmVirtPkg: ArmVirtQemu: expose only 64-bit entry point for
v3.0+ SMBIOS
+ NetworkPkg: Replace the internal function with exposed one
+ MdeModulePkg: Define a general function to create DNS QName
+ MdePkg: Add invocation register support in SMM Communication
ACPI Table
+ MdeModulePkg: SNP should check Cdb.StatCode with
PXE_STATCODE_SUCCESS
+ MdeModulePkg: Make the DEBUG info consistent in SNP driver
+ Add UEFI2.6 MemoryAttributes Table
+ OvmfPkg: simplify VARIABLE_STORE_HEADER generation
+ Minor comments update to AllocatePages() and AllocatePool()
+ MdeModulePkg DxeCore: Missing change for OEM reserved memory
type at R17460
+ ArmPkg: DefaultExceptionHandler fixes for use with DxeCore
+ BaseTools/GenFw AARCH64: add support for relative data
relocations
- Update openssl to 1.0.2f
-------------------------------------------------------------------
Feb 15 09:17:12 UTC 2016 - glin@suse.com
- edk2 upstream switched the repo from svn to git, so the naming
has to change to use the git hash. The most recent stable release
of edk2 is UDK 2015, so the base version changes to 2015.
- update to ovmf-2015+git1454310736.ed5e386
+ MdePkg: Update the UEFI version to reflect new revision
+ MdePkg: Add EFI Supplicant Protocol definitions
+ MdePkg: Add EFI Wireless MAC Connection II Protocol definitions
+ MdePkg: Add ACPI6.1 definition
+ NetworkPkg: better sanity check on Ipv6 prefix length
+ NetworkPkg: Reword PXE download message
+ ShellPkg: ShellFileHandleReadLine must return UCS2 lines
+ ArmPlatformPkg/Bds: Early Console Initialization
+ ShellBinPkg: Arm/AArch64 Shell binary update
+ ShellPkg: Fix ASCII and UNICODE file pipes
+ ArmVirtPkg: implement ArmVirtQemuKernel
+ ArmVirtPkg: introduce new ArmQemuRelocatablePlatformLib
+ MdeModulePkg: Update DxeCore dispatcher to ignore PEI and SMM
depex for FV
+ ArmPkg: Add isb when setting SCR
+ MdeModulePkg/PcRtc: Still create timezone variable when
Daylight != 0
+ MdeModulePkg/UsbAbsPointer:Fix GetState() to return absolute
value
+ MdeModulePkg: Correct one return status code in SNP Transmit
function
+ MdeModulePkg: Update the default size of MNP TX buffer pool
+ MdeModulePkg: Update DBsize in SNP GetStatus command
+ NetworkPkg:Add a new error status code EFI_HTTP_ERROR
+ MdePkg:Add a new error status code EFI_HTTP_ERROR
+ NetworkPkg: Fix suspicious dereference of pointer 'Mode.Ia'
+ OvmfPkg: QemuBootOrderLib: recognize NVMe devices
+ OvmfPkg: include NvmExpressDxe driver
+ SecurityPkg: AuthVariableLib: Add new cert database for
volatile time based Auth variable
+ MdeModulePkg: Add BS+RT+AT variable attribute definition
+ MdePkg: Add new enum EfiPlatformConfigurationActionUnsupportedGuid
+ PcAtChipsetPkg/Rtc: Don't unnecessarily create timezone
variable
+ Correct inconsistent function descriptions in DNS
+ OvmfPkg: Increase default RELEASE build image size to 2MB
+ Minor update to the Data parameter for GetVariable()
+ MdeModulePkg: NvmExpressDxe: clean up NvmeRead() / NvmeWrite()
debug msgs
+ MdePkg:Add new traffic statistics definition for Wireless NIC
+ NetworkPkg:Fix Network memory leak when calling GetModeData
interface
+ SecurityPkg: Correct data copy in Tpm2NvReadPublic
+ SecurityPkg: Add TPM PTP detection in Tpm12SubmitCommand
+ MdeModulePkg DxeCore: Avoid the closed event to be signaled
wrongly
+ SecurityPkg: SecureBootConfigDxe: Fix potential NULL pointer
dereference
+ CryptoPkg: Fix function qsort for non 32-bit machines
- update _service to fetch git repo
-------------------------------------------------------------------
Tue Jan 26 04:24:29 UTC 2016 - glin@suse.com
- update to R19743
+ NetworkPkg: Removing or adding some ASSERT statement
+ MdeModulePkg:Fix the potential memory leak issue in Display
Engine
+ MdeModulePkg: Add error DEBUG statements in ATA passthru driver
+ NetworkPkg: DnsDxe: fix return type of DnsFillinQNameForQueryIp()
+ MdeModulePkg/Ide: return correct status when DRQ is not ready
for ATAPI
+ MdeModulePkg/ScsiDisk: Increase the value of SCSI_DISK_TIMEOUT
to 30s
+ OvmfPkg: inherit Image Verification Policy defaults from
SecurityPkg
+ OvmfPkg: execute option ROM images regardless of Secure Boot
+ Rename TisTpmCommand to avoid name collision
+ MdeModulePkg: update SNP.GetStatus to handle multiple recycled
TX buffer.
+ MdeModulePkg: Update MNP driver to recycle TX buffer
asynchronously.
+ Refine error handle code, avoid assert when load this module
twice.
+ MdeModulePkg: DeleteLoadOptionVariable() removes Boot####
+ MdeModulePkg: Fix GraphicsConsole driver resolution out of
sync issue
+ SecurityPkg: MOR drivers use Tcg2Protocol instead of TrEE.
+ SecurityPkg: Add Tpm2Startup return code check.
+ SecurityPkg: Clear AuthSession content after use.
+ BaseTools/VfrCompile: honor CC if it is set
+ BaseTools AARCH64: add separate GCC build rule for XIP objects
+ BaseTools AARCH64: build XIP modules with strict alignment
+ SecurityPkg: TcgDxe,Tcg2Dxe,TrEEDxe: New PCD for TCG event log
and TCG2 final event log area
+ NetworkPkg: Fix some typos in Http boot driver.
+ MdeModulePkg: Add DNS QType and QClass values definition
+ NetworkPkg: Remove DNS QType and QClass definition
+ SecurityPkg: SecureBootConfigDxe: Change
KEY_TRANS_SECURE_BOOT_MODE value
+ SecurityPkg: SecureBootConfigDxe: Enhance secure boot string
update logic
+ MdeModulePkg:Fix the potential memory leak issue in Display
Engine
+ ShellPkg: Update 'dh' command to reflect correct driver handle
information
+ NetworkPkg: Fix IpSec SPD and SAD mapping issue when SPD is
updated
+ NetworkPkg: Fix SPD entry edit policy issue in IPSecConfig.
+ MdeModulePkg: Add new library class PciHostBridgeLib
+ MdeModulePkg: Add PciHostBridgeLibNull
+ MdePkg: Add PciSegmentLib instance based on PciLib
+ MdeModulePkg: Add generic PciHostBridgeDxe driver.
+ Add NOOPT target
+ ShellPkg UefiDpLib: Use Image->FilePath to get name for SMM
drivers
+ MdeModulePkg/.../IdeMode: actualize DRQReady*() comment blocks
+ MdeModulePkg/.../IdeMode: report early finish of packet read
as success
+ MdeModulePkg: SerialDxe: lay out mSerialIoMode initializer more
nicely
+ MdeModulePkg: SerialDxe: sync EFI_SERIAL_IO_MODE.Timeout with
the spec
+ MdeModulePkg: TerminalDxe: select the UART's default receive
FIFO depth
+ BaseTools: make build report tolerant of FVs specified by name
+ Replace TpmCommLib with Tpm12DeviceLib
+ Add TPM 1.2 commands used by TCG modules
+ SecurityPkg: Update TCG PPI "1.3" for TCG2.
+ Add TPM PTP support
- Remove upstreamed ovmf-fix-signedness.patch
-------------------------------------------------------------------
Wed Jan 6 08:04:47 UTC 2016 - glin@suse.com
- update to R19584
+ NetworkPkg: Support DNS4/6 GeneralLookUp feature
+ SecurityPkg AuthVariableLib: Correct comment/error log about
CleanCertsFromDb
+ NetworkPkg: Fix suspicious dereference of pointer before NULL
check
+ NetworkPkg: Update module inf to include the missing uni file
+ NetworkPkg: Remove a CopyMem to speed up the HTTP boot download
+ NetworkPkg: Remove unused EFI_HTTP_PROTOCOL definition
+ MdePkg : Update SPCR to use ACPI5 definition
+ MdeModulePkg ScsiDiskDxe: Raise the Tpl of async IO callback
to TPL_NOTIFY
+ ScsiDiskDxe: Close event when SCSI command fails
+ MdeModulePkg ScsiBusDxe: Only signal caller event when
PassThru() succeeds
+ MdeModulePkg DiskIoDxe: Check for MediaPresent in
DiskIo2ReadWriteDisk()
+ MdeModulePkg ScsiDiskDxe: Modify WriteBlocks(Ex)() to follow
UEFI spec
+ MdeModulePkg ScsiDiskDxe: Modify FlushBlocksEx() to follow UEFI
spec
+ MdeModulePkg ScsiDiskDxe: Set block I/O media of SCSI CDROM to
read-only
+ PcAtChipsetPkg/Rtc: Fix a UEFI Win7 boot hang issue
+ MdeModulePkg:Clear the screen before booting the boot option
+ NetworkPkg : Remove unused local variables to fix gcc build
errors
+ MdePkg: Add HTTP 1.1 industry standard definitions
+ SecurityPkg: SecureBootConfigDxe: Remove useless code in VFR
+ NetworkPkg:Fix a bug the 2nd httpboot fail issue
+ NetworkPkg: Update iSCSI driver to check existing AIP instances
+ UefiCpuPkg/CpuMpPei: Fix pack(1) issue on x64 arch
+ MdeModulePkg:Fix bug that get the password width info
incorrectly
+ NetworkPkg:Fix the issue Http boot hang when network failed
+ DxeTpmMeasureBootLib: Change global variable name to avoid
name conflict
+ ArmVirtPkg/ArmVirtXen: add ARM support
+ ArmVirtPkg/XenRelocatablePlatformLib: rewrite DTB memory node
retrieval in C
+ OvfmPkg/XenHypercallLib: add missing GCC_ASM_EXPORT to
XenHypercall2
+ Shell update
+ MdeModulePkg:Fix a bug HttpLib can't parse last chunked data
well
+ MdeModulePkg/PciSioSerialDxe:add non-null pointer dereference
assertion
+ ArmPkg: rewrite vector table population macros
+ BootManagerLib: Check the pointer to avoid use NULL pointer
+ MdeModulePkg: Fix RegularExpressionDxe memcpy intrinsic
- Add ovmf-fix-signedness.patch to fix the build error
-------------------------------------------------------------------
Wed Dec 16 03:01:28 UTC 2015 - glin@suse.com

View File

@ -18,17 +18,18 @@
# needssslcertforbuild
%undefine _build_create_debug
%define openssl_version 1.0.2g
Name: ovmf
Url: http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK2
Summary: Open Virtual Machine Firmware
License: BSD-2-Clause
Group: System/Emulators/PC
Version: 0.1+svn19289
Version: 2015+git1462940744.321151f
Release: 0
Source0: %{name}-%{version}.tar.xz
Source1: https://www.openssl.org/source/openssl-1.0.2e.tar.gz
Source111: https://www.openssl.org/source/openssl-1.0.2e.tar.gz.asc
Source1: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz
Source111: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz.asc
Source112: openssl.keyring
Source2: README
Source3: SLES-UEFI-CA-Certificate-2048.crt
@ -46,6 +47,10 @@ Source100: %{name}-rpmlintrc
Source101: gdb_uefi.py.in
Patch2: %{name}-embed-default-keys.patch
Patch3: %{name}-gdb-symbols.patch
Patch4: ArmVirtPkg-Enable-PCI-bus-probing-again.patch
Patch5: %{name}-dxe-10mb.patch
Patch6: %{name}-bsc976253-postpone-shell.patch
Patch7: %{name}-bsc980635-fix-http-crash.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libuuid-devel
BuildRequires: fdupes
@ -71,6 +76,16 @@ ExclusiveArch: %ix86 x86_64 aarch64 %arm
The Open Virtual Machine Firmware (OVMF) project aims to support
firmware for Virtual Machines using the edk2 code base.
%package tools
Summary: The BaseTools from edk2
Group: System/Emulators/PC
%description tools
The Open Virtual Machine Firmware (OVMF) project aims to support
firmware for Virtual Machines using the edk2 code base.
This package contains the tools from edk2.
%ifarch %ix86
%package -n qemu-ovmf-ia32
Summary: Open Virtual Machine Firmware - QEMU rom images (IA32)
@ -139,13 +154,25 @@ virt board.
%setup -q -n %{name}-%{version}
%setup -T -D -n %{name}-%{version}/CryptoPkg/Library/OpensslLib -a 1
%setup -T -D -n %{name}-%{version}
# bsc#973038 Remove the packages we don't need to avoid any potential
# license issue.
PKG_TO_REMOVE="AppPkg DuetPkg CorebootModulePkg CorebootPayloadPkg \
EmulatorPkg Nt32Pkg Omap35xxPkg QuarkPlatformPkg QuarkSocPkg StdLib \
StdLibPrivateInternalFiles UnixPkg Vlv2DeviceRefCodePkg Vlv2TbltDevicePkg"
rm -rf $PKG_TO_REMOVE
%ifarch x86_64
%patch2 -p1
%endif
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
# Intel has special patches for openssl
pushd CryptoPkg/Library/OpensslLib/openssl-1.0.2e
patch -p0 -i ../EDKII_openssl-1.0.2e.patch
pushd CryptoPkg/Library/OpensslLib/openssl-%{openssl_version}
patch -p1 -i ../EDKII_openssl-%{openssl_version}.patch
cd ..
./Install.sh
popd
@ -304,7 +331,11 @@ cp Build/ArmVirtQemu-ARM/RELEASE_GCC*/FV/QEMU_EFI.fd qemu-uefi-aarch32.bin
%install
rm -rf %{buildroot}
cp %{SOURCE2} README
tr -d '\r' < FatBinPkg/License.txt > License-fat-driver.txt
tr -d '\r' < FatPkg/License.txt > License-fat-driver.txt
# Install BaseTools
install -d %{buildroot}/%{_bindir}
install -m 0755 --strip BaseTools/Source/C/bin/EfiRom %{buildroot}/%{_bindir}
%ifarch %ix86
tr -d '\r' < OvmfPkg/License.txt > License.txt
@ -343,6 +374,11 @@ install -m 0644 -D qemu-uefi-aarch32.bin %{buildroot}/%{_datadir}/qemu/qemu-uefi
%defattr(-,root,root,-)
%doc README
%files tools
%defattr(-,root,root,-)
%doc BaseTools/UserManuals/EfiRom_Utility_Man_Page.rtf
%{_bindir}/EfiRom
%ifarch %ix86
%files -n qemu-ovmf-ia32
%defattr(-,root,root,-)