Blame SPECS/edk2.spec

c4e3b2
ExclusiveArch: x86_64 aarch64
c4e3b2
75d8e7
%define GITDATE        20220126
75d8e7
%define GITCOMMIT      bb1bba3d77
c4e3b2
%define TOOLCHAIN      GCC5
c4e3b2
%define OPENSSL_VER    1.1.1k
c4e3b2
c4e3b2
%define qosb_testing 0
c4e3b2
%ifarch x86_64
c4e3b2
%define qosb_testing 1
c4e3b2
%endif
c4e3b2
c4e3b2
%define qemu_package qemu-kvm-core >= 2.12.0-89
c4e3b2
%define qemu_binary /usr/libexec/qemu-kvm
c4e3b2
c4e3b2
%define build_ovmf 0
c4e3b2
%define build_aarch64 0
c4e3b2
%ifarch x86_64
c4e3b2
  %define build_ovmf 1
c4e3b2
%endif
c4e3b2
%ifarch aarch64
c4e3b2
  %define build_aarch64 1
c4e3b2
%endif
c4e3b2
c4e3b2
Name:       edk2
c4e3b2
Version:    %{GITDATE}git%{GITCOMMIT}
d314f8
Release:    3%{?dist}
c4e3b2
Summary:    UEFI firmware for 64-bit virtual machines
c4e3b2
License:    BSD-2-Clause-Patent and OpenSSL and MIT
c4e3b2
URL:        http://www.tianocore.org
c4e3b2
c4e3b2
# The source tarball is created using following commands:
75d8e7
# COMMIT=bb1bba3d77
c4e3b2
# git archive --format=tar --prefix=edk2-$COMMIT/ $COMMIT \
c4e3b2
# | xz -9ev >/tmp/edk2-$COMMIT.tar.xz
c4e3b2
Source0: http://batcave.lab.eng.brq.redhat.com/www/edk2-%{GITCOMMIT}.tar.xz
c4e3b2
Source1: ovmf-whitepaper-c770f8c.txt
75d8e7
Source2: openssl-rhel-a75722161d20fd632f8875585d3aa066ec5fea93.tar.xz
c4e3b2
Source3: ovmf-vars-generator
c4e3b2
Source4: LICENSE.qosb
c4e3b2
Source5: RedHatSecureBootPkKek1.pem
c4e3b2
c4e3b2
Source10: edk2-aarch64-verbose.json
c4e3b2
Source11: edk2-aarch64.json
c4e3b2
Source12: edk2-ovmf-sb.json
c4e3b2
Source13: edk2-ovmf.json
c4e3b2
Source14: edk2-ovmf-cc.json
d314f8
Source15: edk2-ovmf-amdsev.json
c4e3b2
c4e3b2
Patch0008: 0008-BaseTools-do-not-build-BrotliCompress-RH-only.patch
c4e3b2
Patch0009: 0009-MdeModulePkg-remove-package-private-Brotli-include-p.patch
75d8e7
Patch0010: 0010-OvmfPkg-increase-max-debug-message-length-to-512-RHE.patch
75d8e7
Patch0011: 0011-MdeModulePkg-TerminalDxe-add-other-text-resolutions-.patch
75d8e7
Patch0012: 0012-MdeModulePkg-TerminalDxe-set-xterm-resolution-on-mod.patch
75d8e7
Patch0013: 0013-OvmfPkg-take-PcdResizeXterm-from-the-QEMU-command-li.patch
75d8e7
Patch0014: 0014-ArmVirtPkg-take-PcdResizeXterm-from-the-QEMU-command.patch
75d8e7
Patch0015: 0015-OvmfPkg-allow-exclusion-of-the-shell-from-the-firmwa.patch
75d8e7
Patch0016: 0016-ArmPlatformPkg-introduce-fixed-PCD-for-early-hello-m.patch
75d8e7
Patch0017: 0017-ArmPlatformPkg-PrePeiCore-write-early-hello-message-.patch
75d8e7
Patch0018: 0018-ArmVirtPkg-set-early-hello-message-RH-only.patch
75d8e7
Patch0019: 0019-OvmfPkg-enable-DEBUG_VERBOSE-RHEL-only.patch
75d8e7
Patch0020: 0020-OvmfPkg-silence-DEBUG_VERBOSE-0x00400000-in-QemuVide.patch
75d8e7
Patch0021: 0021-ArmVirtPkg-silence-DEBUG_VERBOSE-0x00400000-in-QemuR.patch
75d8e7
Patch0022: 0022-OvmfPkg-QemuRamfbDxe-Do-not-report-DXE-failure-on-Aa.patch
75d8e7
Patch0023: 0023-OvmfPkg-silence-EFI_D_VERBOSE-0x00400000-in-NvmExpre.patch
75d8e7
Patch0024: 0024-CryptoPkg-OpensslLib-list-RHEL8-specific-OpenSSL-fil.patch
75d8e7
Patch0025: 0025-OvmfPkg-QemuKernelLoaderFsDxe-suppress-error-on-no-k.patch
75d8e7
Patch0026: 0026-SecurityPkg-Tcg2Dxe-suppress-error-on-no-swtpm-in-si.patch
75d8e7
Patch0029: 0029-OvmfPkg-Remove-PrintDxe-RHEL-only.patch
75d8e7
Patch0030: 0030-OvmfPkg-Remove-EbcDxe-RHEL-only.patch
75d8e7
Patch0031: 0031-ArmVirtPkg-Remove-EbcDxe-RHEL-only.patch
75d8e7
Patch0032: 0032-OvmfPkg-Remove-VirtioGpu-device-driver-RHEL-only.patch
75d8e7
Patch0033: 0033-OvmfPkg-Remove-QemuRamfbDxe-display-device-driver-RH.patch
75d8e7
Patch0034: 0034-ArmVirtPkg-Remove-QemuRamfbDxe-display-device-driver.patch
75d8e7
Patch0035: 0035-OvmfPkg-Remove-NvmExpressDxe-device-driver-RHEL-only.patch
75d8e7
Patch0036: 0036-ArmVirtPkg-Remove-NvmExpressDxe-device-driver-RHEL-o.patch
75d8e7
Patch0037: 0037-OvmfPkg-Remove-VirtioFsDxe-filesystem-driver-RHEL-on.patch
75d8e7
Patch0038: 0038-ArmVirtPkg-Remove-VirtioFsDxe-filesystem-driver-RHEL.patch
75d8e7
Patch0039: 0039-OvmfPkg-Remove-UdfDxe-filesystem-driver-RHEL-only.patch
75d8e7
Patch0040: 0040-ArmVirtPkg-Remove-UdfDxe-filesystem-driver-RHEL-only.patch
75d8e7
Patch0041: 0041-OvmfPkg-Remove-TftpDynamicCommand-from-shell-RHEL-on.patch
75d8e7
Patch0042: 0042-ArmVirtPkg-Remove-TftpDynamicCommand-from-shell-RHEL.patch
75d8e7
Patch0043: 0043-OvmfPkg-Remove-HttpDynamicCommand-from-shell-RHEL-on.patch
75d8e7
Patch0044: 0044-ArmVirtPkg-Remove-HttpDynamicCommand-from-shell-RHEL.patch
75d8e7
Patch0045: 0045-OvmfPkg-Remove-LinuxInitrdDynamicShellCommand-RHEL-o.patch
75d8e7
Patch0046: 0046-ArmVirtPkg-Remove-LinuxInitrdDynamicShellCommand-RHE.patch
75d8e7
# For bz#1935497 - edk2  implements and/or uses the deprecated MD5 and SHA-1 algorithms by default
75d8e7
Patch47: edk2-OvmfPkg-remove-unused-TPM-options-from-MicrovmX64.ds.patch
75d8e7
# For bz#1935497 - edk2  implements and/or uses the deprecated MD5 and SHA-1 algorithms by default
75d8e7
Patch48: edk2-OvmfPkg-move-tcg-configuration-to-dsc-and-fdf-includ.patch
75d8e7
# For bz#1935497 - edk2  implements and/or uses the deprecated MD5 and SHA-1 algorithms by default
75d8e7
Patch49: edk2-OvmfPkg-drop-TPM_CONFIG_ENABLE.patch
75d8e7
# For bz#1935497 - edk2  implements and/or uses the deprecated MD5 and SHA-1 algorithms by default
75d8e7
Patch50: edk2-OvmfPkg-create-Tcg12ConfigPei.inf.patch
75d8e7
# For bz#1935497 - edk2  implements and/or uses the deprecated MD5 and SHA-1 algorithms by default
75d8e7
Patch51: edk2-OvmfPkg-rework-TPM-configuration.patch
d314f8
# For bz#2041755 - Mark SEV launch secret area as reserved
d314f8
Patch52: edk2-OvmfPkg-AmdSev-SecretPei-Mark-SEV-launch-secret-area.patch
c4e3b2
c4e3b2
c4e3b2
# python3-devel and libuuid-devel are required for building tools.
c4e3b2
# python3-devel is also needed for varstore template generation and
c4e3b2
# verification with "ovmf-vars-generator".
c4e3b2
BuildRequires:  python3-devel
c4e3b2
BuildRequires:  libuuid-devel
c4e3b2
BuildRequires:  /usr/bin/iasl
c4e3b2
BuildRequires:  binutils gcc git gcc-c++ make
c4e3b2
c4e3b2
%if %{build_ovmf}
c4e3b2
# Only OVMF includes 80x86 assembly files (*.nasm*).
c4e3b2
BuildRequires:  nasm
c4e3b2
c4e3b2
# Only OVMF includes the Secure Boot feature, for which we need to separate out
c4e3b2
# the UEFI shell.
c4e3b2
BuildRequires:  dosfstools
c4e3b2
BuildRequires:  mtools
c4e3b2
BuildRequires:  xorriso
c4e3b2
c4e3b2
# For generating the variable store template with the default certificates
c4e3b2
# enrolled, we need the qemu-kvm executable.
c4e3b2
BuildRequires:  %{qemu_package}
c4e3b2
c4e3b2
%if %{qosb_testing}
c4e3b2
# For verifying SB enablement in the above variable store template, we need a
c4e3b2
# guest kernel that prints "Secure boot enabled".
c4e3b2
BuildRequires: kernel-core >= 4.18.0-161
c4e3b2
BuildRequires: rpmdevtools
c4e3b2
%endif
c4e3b2
c4e3b2
# endif build_ovmf
c4e3b2
%endif
c4e3b2
c4e3b2
c4e3b2
%package ovmf
c4e3b2
Summary:    UEFI firmware for x86_64 virtual machines
c4e3b2
BuildArch:  noarch
c4e3b2
Provides:   OVMF = %{version}-%{release}
c4e3b2
Obsoletes:  OVMF < 20180508-100.gitee3198e672e2.el7
c4e3b2
c4e3b2
# OVMF includes the Secure Boot and IPv6 features; it has a builtin OpenSSL
c4e3b2
# library.
c4e3b2
Provides:   bundled(openssl) = %{OPENSSL_VER}
c4e3b2
License:    BSD-2-Clause-Patent and OpenSSL
c4e3b2
c4e3b2
# URL taken from the Maintainers.txt file.
c4e3b2
URL:        http://www.tianocore.org/ovmf/
c4e3b2
c4e3b2
%description ovmf
c4e3b2
OVMF (Open Virtual Machine Firmware) is a project to enable UEFI support for
c4e3b2
Virtual Machines. This package contains a sample 64-bit UEFI firmware for QEMU
c4e3b2
and KVM.
c4e3b2
c4e3b2
c4e3b2
%package aarch64
c4e3b2
Summary:    UEFI firmware for aarch64 virtual machines
c4e3b2
BuildArch:  noarch
c4e3b2
Provides:   AAVMF = %{version}-%{release}
c4e3b2
Obsoletes:  AAVMF < 20180508-100.gitee3198e672e2.el7
c4e3b2
c4e3b2
# No Secure Boot for AAVMF yet, but we include OpenSSL for the IPv6 stack.
c4e3b2
Provides:   bundled(openssl) = %{OPENSSL_VER}
c4e3b2
License:    BSD-2-Clause-Patent and OpenSSL
c4e3b2
c4e3b2
# URL taken from the Maintainers.txt file.
c4e3b2
URL:        https://github.com/tianocore/tianocore.github.io/wiki/ArmVirtPkg
c4e3b2
c4e3b2
%description aarch64
c4e3b2
AAVMF (ARM Architecture Virtual Machine Firmware) is an EFI Development Kit II
c4e3b2
platform that enables UEFI support for QEMU/KVM ARM Virtual Machines. This
c4e3b2
package contains a 64-bit build.
c4e3b2
c4e3b2
c4e3b2
%package tools
c4e3b2
Summary:        EFI Development Kit II Tools
c4e3b2
License:        BSD-2-Clause-Patent
c4e3b2
URL:            https://github.com/tianocore/tianocore.github.io/wiki/BaseTools
c4e3b2
%description tools
c4e3b2
This package provides tools that are needed to
c4e3b2
build EFI executables and ROMs using the GNU tools.
c4e3b2
c4e3b2
%package tools-doc
c4e3b2
Summary:        Documentation for EFI Development Kit II Tools
c4e3b2
BuildArch:      noarch
c4e3b2
License:        BSD-2-Clause-Patent
c4e3b2
URL:            https://github.com/tianocore/tianocore.github.io/wiki/BaseTools
c4e3b2
%description tools-doc
c4e3b2
This package documents the tools that are needed to
c4e3b2
build EFI executables and ROMs using the GNU tools.
c4e3b2
c4e3b2
%description
c4e3b2
EDK II is a modern, feature-rich, cross-platform firmware development
c4e3b2
environment for the UEFI and PI specifications. This package contains sample
c4e3b2
64-bit UEFI firmware builds for QEMU and KVM.
c4e3b2
c4e3b2
%prep
c4e3b2
# We needs some special git config options that %%autosetup won't give us.
c4e3b2
# We init the git dir ourselves, then tell %%autosetup not to blow it away.
c4e3b2
%setup -q -n edk2-%{GITCOMMIT}
c4e3b2
git init -q
c4e3b2
git config core.whitespace cr-at-eol
c4e3b2
git config am.keepcr true
c4e3b2
# -T is passed to %%setup to not re-extract the archive
c4e3b2
# -D is passed to %%setup to not delete the existing archive dir
c4e3b2
%autosetup -T -D -n edk2-%{GITCOMMIT} -S git_am
c4e3b2
c4e3b2
cp -a -- %{SOURCE1} %{SOURCE3} .
d314f8
cp -a -- %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} .
c4e3b2
tar -C CryptoPkg/Library/OpensslLib -a -f %{SOURCE2} -x
c4e3b2
c4e3b2
# Format the Red Hat-issued certificate that is to be enrolled as both Platform
c4e3b2
# Key and first Key Exchange Key, as an SMBIOS OEM String. This means stripping
c4e3b2
# the PEM header and footer, and prepending the textual representation of the
c4e3b2
# GUID that identifies this particular OEM String to "EnrollDefaultKeys.efi",
c4e3b2
# plus the separator ":". For details, see
c4e3b2
# <https://bugzilla.tianocore.org/show_bug.cgi?id=1747> comments 2, 7, 14.
c4e3b2
sed \
c4e3b2
  -e 's/^-----BEGIN CERTIFICATE-----$/4e32566d-8e9e-4f52-81d3-5bb9715f9727:/' \
c4e3b2
  -e '/^-----END CERTIFICATE-----$/d' \
c4e3b2
  %{SOURCE5} \
c4e3b2
  > PkKek1.oemstr
c4e3b2
c4e3b2
# Done by %setup, but we do not use it for the auxiliary tarballs
c4e3b2
chmod -Rf a+rX,u+w,g-w,o-w .
c4e3b2
c4e3b2
%build
c4e3b2
export PYTHON_COMMAND=%{__python3}
c4e3b2
source ./edksetup.sh
c4e3b2
%make_build -C "$EDK_TOOLS_PATH" \
c4e3b2
  EXTRA_OPTFLAGS="%{optflags}" \
c4e3b2
  EXTRA_LDFLAGS="%{__global_ldflags}"
c4e3b2
c4e3b2
SMP_MFLAGS="%{?_smp_mflags}"
c4e3b2
if [[ x"$SMP_MFLAGS" = x-j* ]]; then
c4e3b2
        CC_FLAGS="$CC_FLAGS -n ${SMP_MFLAGS#-j}"
c4e3b2
elif [ -n "%{?jobs}" ]; then
c4e3b2
        CC_FLAGS="$CC_FLAGS -n %{?jobs}"
c4e3b2
fi
c4e3b2
c4e3b2
CC_FLAGS="$CC_FLAGS --cmd-len=65536 -t %{TOOLCHAIN} -b DEBUG --hash"
c4e3b2
CC_FLAGS="$CC_FLAGS -D NETWORK_IP6_ENABLE"
c4e3b2
CC_FLAGS="$CC_FLAGS -D NETWORK_HTTP_BOOT_ENABLE -D NETWORK_TLS_ENABLE"
75d8e7
CC_FLAGS="$CC_FLAGS -D TPM2_ENABLE=TRUE"
75d8e7
CC_FLAGS="$CC_FLAGS -D TPM1_ENABLE=FALSE"
c4e3b2
c4e3b2
OVMF_FLAGS="${CC_FLAGS}"
c4e3b2
OVMF_FLAGS="${OVMF_FLAGS} -D FD_SIZE_4MB"
c4e3b2
OVMF_FLAGS="${OVMF_FLAGS} -D PVSCSI_ENABLE=FALSE -D MPT_SCSI_ENABLE=FALSE"
c4e3b2
c4e3b2
OVMF_SB_FLAGS="${OVMF_FLAGS}"
c4e3b2
OVMF_SB_FLAGS="${OVMF_SB_FLAGS} -D SECURE_BOOT_ENABLE"
c4e3b2
OVMF_SB_FLAGS="${OVMF_SB_FLAGS} -D SMM_REQUIRE"
c4e3b2
OVMF_SB_FLAGS="${OVMF_SB_FLAGS} -D EXCLUDE_SHELL_FROM_FD"
c4e3b2
c4e3b2
c4e3b2
build_iso() {
c4e3b2
  dir="$1"
c4e3b2
  UEFI_SHELL_BINARY=${dir}/Shell.efi
c4e3b2
  ENROLLER_BINARY=${dir}/EnrollDefaultKeys.efi
c4e3b2
  UEFI_SHELL_IMAGE=uefi_shell.img
c4e3b2
  ISO_IMAGE=${dir}/UefiShell.iso
c4e3b2
c4e3b2
  UEFI_SHELL_BINARY_BNAME=$(basename -- "$UEFI_SHELL_BINARY")
c4e3b2
  UEFI_SHELL_SIZE=$(stat --format=%s -- "$UEFI_SHELL_BINARY")
c4e3b2
  ENROLLER_SIZE=$(stat --format=%s -- "$ENROLLER_BINARY")
c4e3b2
c4e3b2
  # add 1MB then 10% for metadata
c4e3b2
  UEFI_SHELL_IMAGE_KB=$((
c4e3b2
    (UEFI_SHELL_SIZE + ENROLLER_SIZE + 1 * 1024 * 1024) * 11 / 10 / 1024
c4e3b2
  ))
c4e3b2
c4e3b2
  # create non-partitioned FAT image
c4e3b2
  rm -f -- "$UEFI_SHELL_IMAGE"
c4e3b2
  mkdosfs -C "$UEFI_SHELL_IMAGE" -n UEFI_SHELL -- "$UEFI_SHELL_IMAGE_KB"
c4e3b2
c4e3b2
  # copy the shell binary into the FAT image
c4e3b2
  export MTOOLS_SKIP_CHECK=1
c4e3b2
  mmd   -i "$UEFI_SHELL_IMAGE"                       ::efi
c4e3b2
  mmd   -i "$UEFI_SHELL_IMAGE"                       ::efi/boot
c4e3b2
  mcopy -i "$UEFI_SHELL_IMAGE"  "$UEFI_SHELL_BINARY" ::efi/boot/bootx64.efi
c4e3b2
  mcopy -i "$UEFI_SHELL_IMAGE"  "$ENROLLER_BINARY"   ::
c4e3b2
  mdir  -i "$UEFI_SHELL_IMAGE"  -/                   ::
c4e3b2
c4e3b2
  # build ISO with FAT image file as El Torito EFI boot image
c4e3b2
  mkisofs -input-charset ASCII -J -rational-rock \
c4e3b2
    -e "$UEFI_SHELL_IMAGE" -no-emul-boot \
c4e3b2
    -o "$ISO_IMAGE" "$UEFI_SHELL_IMAGE"
c4e3b2
}
c4e3b2
c4e3b2
c4e3b2
%if %{build_ovmf}
c4e3b2
# Build with neither SB nor SMM; include UEFI shell.
c4e3b2
build ${OVMF_FLAGS} -a X64 \
c4e3b2
  -p OvmfPkg/OvmfPkgX64.dsc
c4e3b2
c4e3b2
# Build with SB and SMM; exclude UEFI shell.
c4e3b2
build ${OVMF_SB_FLAGS} -a IA32 -a X64 \
c4e3b2
  -p OvmfPkg/OvmfPkgIa32X64.dsc
c4e3b2
d314f8
# Build AmdSev
d314f8
touch OvmfPkg/AmdSev/Grub/grub.efi   # dummy
d314f8
build ${OVMF_FLAGS} -a X64 \
d314f8
  -p OvmfPkg/AmdSev/AmdSevX64.dsc
d314f8
c4e3b2
# Sanity check: the varstore templates must be identical.
c4e3b2
cmp Build/OvmfX64/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.fd \
c4e3b2
  Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.fd
c4e3b2
c4e3b2
# Prepare an ISO image that boots the UEFI shell.
c4e3b2
build_iso Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/X64
c4e3b2
c4e3b2
# Enroll the default certificates in a separate variable store template.
c4e3b2
%{__python3} ovmf-vars-generator --verbose --verbose \
c4e3b2
  --qemu-binary        %{qemu_binary} \
c4e3b2
  --ovmf-binary        Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_CODE.fd \
c4e3b2
  --ovmf-template-vars Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.fd \
c4e3b2
  --uefi-shell-iso     Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/X64/UefiShell.iso \
c4e3b2
  --oem-string         "$(< PkKek1.oemstr)" \
c4e3b2
  --skip-testing \
c4e3b2
  Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.secboot.fd
c4e3b2
c4e3b2
# endif build_ovmf
c4e3b2
%endif
c4e3b2
c4e3b2
%if %{build_aarch64}
c4e3b2
# Build with a verbose debug mask first, and stash the binary.
c4e3b2
build ${CC_FLAGS} -a AARCH64 \
c4e3b2
  -p ArmVirtPkg/ArmVirtQemu.dsc \
c4e3b2
  -D DEBUG_PRINT_ERROR_LEVEL=0x8040004F
c4e3b2
cp -a Build/ArmVirtQemu-AARCH64/DEBUG_%{TOOLCHAIN}/FV/QEMU_EFI.fd \
c4e3b2
  Build/ArmVirtQemu-AARCH64/DEBUG_%{TOOLCHAIN}/FV/QEMU_EFI.verbose.fd
c4e3b2
c4e3b2
# Rebuild with a silent (errors only) debug mask.
c4e3b2
build ${CC_FLAGS} -a AARCH64 \
c4e3b2
  -p ArmVirtPkg/ArmVirtQemu.dsc \
c4e3b2
  -D DEBUG_PRINT_ERROR_LEVEL=0x80000000
c4e3b2
# endif build_aarch64
c4e3b2
%endif
c4e3b2
c4e3b2
c4e3b2
%install
c4e3b2
c4e3b2
cp -a OvmfPkg/License.txt License.OvmfPkg.txt
c4e3b2
cp -a CryptoPkg/Library/OpensslLib/openssl/LICENSE LICENSE.openssl
c4e3b2
mkdir -p %{buildroot}%{_datadir}/qemu/firmware
c4e3b2
c4e3b2
# install the tools
c4e3b2
mkdir -p %{buildroot}%{_bindir} \
c4e3b2
         %{buildroot}%{_datadir}/%{name}/Conf \
c4e3b2
         %{buildroot}%{_datadir}/%{name}/Scripts
c4e3b2
install BaseTools/Source/C/bin/* \
c4e3b2
        %{buildroot}%{_bindir}
c4e3b2
install BaseTools/BinWrappers/PosixLike/LzmaF86Compress \
c4e3b2
        %{buildroot}%{_bindir}
c4e3b2
install BaseTools/BuildEnv \
c4e3b2
        %{buildroot}%{_datadir}/%{name}
c4e3b2
install BaseTools/Conf/*.template \
c4e3b2
        %{buildroot}%{_datadir}/%{name}/Conf
c4e3b2
install BaseTools/Scripts/GccBase.lds \
c4e3b2
        %{buildroot}%{_datadir}/%{name}/Scripts
c4e3b2
c4e3b2
c4e3b2
%if %{build_ovmf}
c4e3b2
mkdir -p \
c4e3b2
  %{buildroot}%{_datadir}/OVMF \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/ovmf
c4e3b2
c4e3b2
install -m 0644 Build/OvmfX64/DEBUG_%{TOOLCHAIN}/FV/OVMF_CODE.fd \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/ovmf/OVMF_CODE.cc.fd
c4e3b2
install -m 0644 Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_CODE.fd \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/ovmf/OVMF_CODE.secboot.fd
c4e3b2
c4e3b2
install -m 0644 Build/OvmfX64/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.fd \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/ovmf/OVMF_VARS.fd
c4e3b2
install -m 0644 Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.secboot.fd \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/ovmf/OVMF_VARS.secboot.fd
c4e3b2
install -m 0644 Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/X64/UefiShell.iso \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/ovmf/UefiShell.iso
c4e3b2
d314f8
install -m 0644 Build/AmdSev/DEBUG_%{TOOLCHAIN}/FV/OVMF.fd \
d314f8
  %{buildroot}%{_datadir}/%{name}/ovmf/OVMF.amdsev.fd
d314f8
c4e3b2
ln -s ../%{name}/ovmf/OVMF_CODE.secboot.fd %{buildroot}%{_datadir}/OVMF/
c4e3b2
ln -s ../%{name}/ovmf/OVMF_VARS.fd         %{buildroot}%{_datadir}/OVMF/
c4e3b2
ln -s ../%{name}/ovmf/OVMF_VARS.secboot.fd %{buildroot}%{_datadir}/OVMF/
c4e3b2
ln -s ../%{name}/ovmf/UefiShell.iso        %{buildroot}%{_datadir}/OVMF/
c4e3b2
c4e3b2
install -m 0644 Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/X64/Shell.efi \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/ovmf/Shell.efi
c4e3b2
install -m 0644 Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/X64/EnrollDefaultKeys.efi \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/ovmf/EnrollDefaultKeys.efi
c4e3b2
c4e3b2
install -m 0644 edk2-ovmf-sb.json \
c4e3b2
  %{buildroot}%{_datadir}/qemu/firmware/40-edk2-ovmf-sb.json
c4e3b2
install -m 0644 edk2-ovmf.json \
c4e3b2
  %{buildroot}%{_datadir}/qemu/firmware/50-edk2-ovmf.json
c4e3b2
install -m 0644 edk2-ovmf-cc.json \
c4e3b2
  %{buildroot}%{_datadir}/qemu/firmware/50-edk2-ovmf-cc.json
d314f8
install -m 0644 edk2-ovmf-amdsev.json \
d314f8
  %{buildroot}%{_datadir}/qemu/firmware/50-edk2-ovmf-amdsev.json
c4e3b2
c4e3b2
# endif build_ovmf
c4e3b2
%endif
c4e3b2
c4e3b2
%if %{build_aarch64}
c4e3b2
mkdir -p \
c4e3b2
  %{buildroot}%{_datadir}/AAVMF \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/aarch64
c4e3b2
c4e3b2
# Pad and install the verbose binary.
c4e3b2
cat Build/ArmVirtQemu-AARCH64/DEBUG_%{TOOLCHAIN}/FV/QEMU_EFI.verbose.fd \
c4e3b2
  /dev/zero \
c4e3b2
| head -c 64m \
c4e3b2
  > %{buildroot}%{_datadir}/%{name}/aarch64/QEMU_EFI-pflash.raw
c4e3b2
c4e3b2
# Pad and install the silent (default) binary.
c4e3b2
cat Build/ArmVirtQemu-AARCH64/DEBUG_%{TOOLCHAIN}/FV/QEMU_EFI.fd \
c4e3b2
  /dev/zero \
c4e3b2
| head -c 64m \
c4e3b2
  > %{buildroot}%{_datadir}/%{name}/aarch64/QEMU_EFI-silent-pflash.raw
c4e3b2
c4e3b2
# Create varstore template.
c4e3b2
cat Build/ArmVirtQemu-AARCH64/DEBUG_%{TOOLCHAIN}/FV/QEMU_VARS.fd \
c4e3b2
  /dev/zero \
c4e3b2
| head -c 64m \
c4e3b2
  > %{buildroot}%{_datadir}/%{name}/aarch64/vars-template-pflash.raw
c4e3b2
c4e3b2
ln -s ../%{name}/aarch64/QEMU_EFI-pflash.raw \
c4e3b2
  %{buildroot}%{_datadir}/AAVMF/AAVMF_CODE.verbose.fd
c4e3b2
ln -s ../%{name}/aarch64/QEMU_EFI-silent-pflash.raw \
c4e3b2
  %{buildroot}%{_datadir}/AAVMF/AAVMF_CODE.fd
c4e3b2
ln -s ../%{name}/aarch64/vars-template-pflash.raw \
c4e3b2
  %{buildroot}%{_datadir}/AAVMF/AAVMF_VARS.fd
c4e3b2
c4e3b2
chmod 0644 -- %{buildroot}%{_datadir}/AAVMF/AAVMF_*.fd
c4e3b2
c4e3b2
install -m 0644 Build/ArmVirtQemu-AARCH64/DEBUG_%{TOOLCHAIN}/FV/QEMU_EFI.verbose.fd \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/aarch64/QEMU_EFI.fd
c4e3b2
install -m 0644 Build/ArmVirtQemu-AARCH64/DEBUG_%{TOOLCHAIN}/FV/QEMU_EFI.fd \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/aarch64/QEMU_EFI.silent.fd
c4e3b2
install -m 0644 Build/ArmVirtQemu-AARCH64/DEBUG_%{TOOLCHAIN}/FV/QEMU_VARS.fd \
c4e3b2
  %{buildroot}%{_datadir}/%{name}/aarch64/QEMU_VARS.fd
c4e3b2
c4e3b2
install -m 0644 edk2-aarch64.json \
c4e3b2
  %{buildroot}%{_datadir}/qemu/firmware/60-edk2-aarch64.json
c4e3b2
install -m 0644 edk2-aarch64-verbose.json \
c4e3b2
  %{buildroot}%{_datadir}/qemu/firmware/70-edk2-aarch64-verbose.json
c4e3b2
# endif build_aarch64
c4e3b2
%endif
c4e3b2
c4e3b2
c4e3b2
%check
c4e3b2
c4e3b2
%if %{qosb_testing}
c4e3b2
# Of the installed host kernels, boot the one with the highest Version-Release
c4e3b2
# under OVMF, and check if it prints "Secure boot enabled".
c4e3b2
KERNEL_PKG=$(rpm -q kernel-core | rpmdev-sort | tail -n 1)
c4e3b2
KERNEL_IMG=$(rpm -q -l $KERNEL_PKG | egrep '^/lib/modules/[^/]+/vmlinuz$')
c4e3b2
c4e3b2
%{__python3} ovmf-vars-generator --verbose --verbose \
c4e3b2
  --qemu-binary        %{qemu_binary} \
c4e3b2
  --ovmf-binary        Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_CODE.fd \
c4e3b2
  --ovmf-template-vars Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.fd \
c4e3b2
  --uefi-shell-iso     Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/X64/UefiShell.iso \
c4e3b2
  --kernel-path        $KERNEL_IMG \
c4e3b2
  --skip-enrollment \
c4e3b2
  --no-download \
c4e3b2
  Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.secboot.fd
c4e3b2
c4e3b2
# endif qosb_testing
c4e3b2
%endif
c4e3b2
c4e3b2
c4e3b2
%global common_files \
c4e3b2
  %%license License.txt License.OvmfPkg.txt License-History.txt LICENSE.openssl \
c4e3b2
  %%dir %%{_datadir}/%%{name}/ \
c4e3b2
  %%dir %%{_datadir}/qemu \
c4e3b2
  %%dir %%{_datadir}/qemu/firmware
c4e3b2
c4e3b2
%if %{build_ovmf}
c4e3b2
%files ovmf
c4e3b2
%common_files
c4e3b2
%doc OvmfPkg/README
c4e3b2
%doc ovmf-whitepaper-c770f8c.txt
c4e3b2
%dir %{_datadir}/OVMF/
c4e3b2
%dir %{_datadir}/%{name}/ovmf/
c4e3b2
%{_datadir}/%{name}/ovmf/OVMF_CODE.cc.fd
c4e3b2
%{_datadir}/%{name}/ovmf/OVMF_CODE.secboot.fd
c4e3b2
%{_datadir}/%{name}/ovmf/OVMF_VARS.fd
c4e3b2
%{_datadir}/%{name}/ovmf/OVMF_VARS.secboot.fd
d314f8
%{_datadir}/%{name}/ovmf/OVMF.amdsev.fd
c4e3b2
%{_datadir}/%{name}/ovmf/UefiShell.iso
c4e3b2
%{_datadir}/OVMF/OVMF_CODE.secboot.fd
c4e3b2
%{_datadir}/OVMF/OVMF_VARS.fd
c4e3b2
%{_datadir}/OVMF/OVMF_VARS.secboot.fd
c4e3b2
%{_datadir}/OVMF/UefiShell.iso
c4e3b2
%{_datadir}/%{name}/ovmf/Shell.efi
c4e3b2
%{_datadir}/%{name}/ovmf/EnrollDefaultKeys.efi
c4e3b2
%{_datadir}/qemu/firmware/40-edk2-ovmf-sb.json
c4e3b2
%{_datadir}/qemu/firmware/50-edk2-ovmf-cc.json
d314f8
%{_datadir}/qemu/firmware/50-edk2-ovmf-amdsev.json
c4e3b2
%{_datadir}/qemu/firmware/50-edk2-ovmf.json
c4e3b2
# endif build_ovmf
c4e3b2
%endif
c4e3b2
c4e3b2
%if %{build_aarch64}
c4e3b2
%files aarch64
c4e3b2
%common_files
c4e3b2
%dir %{_datadir}/AAVMF/
c4e3b2
%dir %{_datadir}/%{name}/aarch64/
c4e3b2
%{_datadir}/%{name}/aarch64/QEMU_EFI-pflash.raw
c4e3b2
%{_datadir}/%{name}/aarch64/QEMU_EFI-silent-pflash.raw
c4e3b2
%{_datadir}/%{name}/aarch64/vars-template-pflash.raw
c4e3b2
%{_datadir}/AAVMF/AAVMF_CODE.verbose.fd
c4e3b2
%{_datadir}/AAVMF/AAVMF_CODE.fd
c4e3b2
%{_datadir}/AAVMF/AAVMF_VARS.fd
c4e3b2
%{_datadir}/%{name}/aarch64/QEMU_EFI.fd
c4e3b2
%{_datadir}/%{name}/aarch64/QEMU_EFI.silent.fd
c4e3b2
%{_datadir}/%{name}/aarch64/QEMU_VARS.fd
c4e3b2
%{_datadir}/qemu/firmware/60-edk2-aarch64.json
c4e3b2
%{_datadir}/qemu/firmware/70-edk2-aarch64-verbose.json
c4e3b2
# endif build_aarch64
c4e3b2
%endif
c4e3b2
c4e3b2
%files tools
c4e3b2
%license License.txt
c4e3b2
%license License-History.txt
c4e3b2
%{_bindir}/DevicePath
c4e3b2
%{_bindir}/EfiRom
c4e3b2
%{_bindir}/GenCrc32
c4e3b2
%{_bindir}/GenFfs
c4e3b2
%{_bindir}/GenFv
c4e3b2
%{_bindir}/GenFw
c4e3b2
%{_bindir}/GenSec
c4e3b2
%{_bindir}/LzmaCompress
c4e3b2
%{_bindir}/LzmaF86Compress
c4e3b2
%{_bindir}/TianoCompress
c4e3b2
%{_bindir}/VfrCompile
c4e3b2
%{_bindir}/VolInfo
c4e3b2
%dir %{_datadir}/%{name}
c4e3b2
%{_datadir}/%{name}/BuildEnv
c4e3b2
%{_datadir}/%{name}/Conf
c4e3b2
%{_datadir}/%{name}/Scripts
c4e3b2
c4e3b2
%files tools-doc
c4e3b2
%doc BaseTools/UserManuals/*.rtf
c4e3b2
c4e3b2
c4e3b2
%changelog
d314f8
* Wed Feb 23 2022 Miroslav Rezanina <mrezanin@redhat.com> - 20220126gitbb1bba3d77-3
d314f8
- edk2-spec-build-amdsev-variant.patch [bz#2054661]
d314f8
- edk2-OvmfPkg-AmdSev-SecretPei-Mark-SEV-launch-secret-area.patch [bz#2041755]
d314f8
- Resolves: bz#2054661
d314f8
  (RFE:  Support measured AMD SEV boot with kernel/initrd/cmdline in OVMF)
d314f8
- Resolves: bz#2041755
d314f8
  (Mark SEV launch secret area as reserved)
d314f8
75d8e7
* Tue Feb 08 2022 Miroslav Rezanina <mrezanin@redhat.com> - 20220126gitbb1bba3d77-2
75d8e7
- edk2-OvmfPkg-remove-unused-TPM-options-from-MicrovmX64.ds.patch [bz#1935497]
75d8e7
- edk2-OvmfPkg-move-tcg-configuration-to-dsc-and-fdf-includ.patch [bz#1935497]
75d8e7
- edk2-OvmfPkg-drop-TPM_CONFIG_ENABLE.patch [bz#1935497]
75d8e7
- edk2-OvmfPkg-create-Tcg12ConfigPei.inf.patch [bz#1935497]
75d8e7
- edk2-OvmfPkg-rework-TPM-configuration.patch [bz#1935497]
75d8e7
- edk2-spec-adapt-specfile-to-build-option-changes-disable-.patch [bz#1935497]
75d8e7
- Resolves: bz#1935497
75d8e7
  (edk2  implements and/or uses the deprecated MD5 and SHA-1 algorithms by default)
75d8e7
75d8e7
* Tue Feb 01 2022 Miroslav Rezanina <mrezanin@redhat.com> - 20220126gitbb1bba3d77-1
75d8e7
- Rebase to latest upstream release [bz#2018388]
75d8e7
- Resolves: bz#2018388
75d8e7
  ([rebase] update edk2 to nov '21 release (edk2-stable202111xx))
75d8e7
75d8e7
* Fri Jan 14 2022 Miroslav Rezanina <mrezanin@redhat.com> - 20210527gite1999b264f1f-8
75d8e7
- edk2-Revert-advertise-OpenSSL-on-TianoCore-splash-screen-.patch [bz#2027286]
75d8e7
- Resolves: bz#2027286
75d8e7
  (Remove the customized boot splash logo patch)
75d8e7
35f31e
* Mon Nov 01 2021 Miroslav Rezanina <mrezanin@redhat.com> - 20210527gite1999b264f1f-7
35f31e
- edk2-fix-tpm-build-options.patch [bz#2000396]
35f31e
- Resolves: bz#2000396
35f31e
  ([aarch64][RHEL9] The lack of TPMFinalLog in efi causes the tpm self-test in the guest to fail)
35f31e
c4e3b2
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20210527gite1999b264f1f-6
c4e3b2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c4e3b2
  Related: rhbz#1991688
c4e3b2
c4e3b2
* Fri Aug 06 2021 Miroslav Rezanina <mrezanin@redhat.com> - 20210527gite1999b264f1f-5
c4e3b2
- edk2-MdeModulePkg-PartitionDxe-Ignore-PMBR-BootIndicator-.patch [bz#1988760]
c4e3b2
- Resolves: bz#1988760
c4e3b2
  (edk2 does not ignore PMBR protective record BootIndicator as required by UEFI spec)
c4e3b2
c4e3b2
* Fri Jul 30 2021 Miroslav Rezanina <mrezanin@redhat.com> - 20210527gite1999b264f1f-4
c4e3b2
- edk2-spec-remove-Group-and-defattr.patch [bz#1983789]
c4e3b2
- edk2-spec-Add-BuildRequires-make.patch [bz#1983789]
c4e3b2
- edk2-spec-don-t-conditionalize-package-definitions.patch [bz#1983789]
c4e3b2
- edk2-spec-Use-autosetup-with-our-required-git-config-opti.patch [bz#1983789]
c4e3b2
- edk2-spec-Replace-ifarch-else-conditionals-with-build_XXX.patch [bz#1983789]
c4e3b2
- edk2-spec-Move-D-TPM_ENABLE-to-common-CC_FLAGS.patch [bz#1983789]
c4e3b2
- edk2-spec-Add-qemu_package-and-qemu_binary.patch [bz#1983789]
c4e3b2
- edk2-spec-Remove-extra-true-at-end-of-check.patch [bz#1983789]
c4e3b2
- edk2-spec-Move-check-to-between-install-and-files.patch [bz#1983789]
c4e3b2
- edk2-spec-Add-qosb_testing-macro.patch [bz#1983789]
c4e3b2
- edk2-spec-Split-out-build_iso-function.patch [bz#1983789]
c4e3b2
- edk2-spec-Replace-RPM_BUILD_ROOT-with-buildroot.patch [bz#1983789]
c4e3b2
- edk2-spec-Use-make_build-macro.patch [bz#1983789]
c4e3b2
- edk2-spec-Factor-out-OVMF_FLAGS-and-OVMF_SB_FLAGS.patch [bz#1983789]
c4e3b2
- edk2-spec-Don-t-put-build-output-in-the-top-directory.patch [bz#1983789]
c4e3b2
- edk2-spec-Centralize-non-firmware-install-files-at-the-to.patch [bz#1983789]
c4e3b2
- Resolves: bz#1983789
c4e3b2
  (Make spec easier to share with Fedora)
c4e3b2
c4e3b2
* Mon Jul 12 2021 Miroslav Rezanina <mrezanin@redhat.com> - 20210527gite1999b264f1f-3
c4e3b2
- edk2-OvmfPkg-Remove-PrintDxe-RHEL-only.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-EbcDxe-RHEL-only.patch [bz#1967747]
c4e3b2
- edk2-ArmVirtPkg-Remove-EbcDxe-RHEL-only.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-VirtioGpu-device-driver-RHEL-only.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-QemuRamfbDxe-display-device-driver-RH.patch [bz#1967747]
c4e3b2
- edk2-ArmVirtPkg-Remove-QemuRamfbDxe-display-device-driver.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-NvmExpressDxe-device-driver-RHEL-only.patch [bz#1967747]
c4e3b2
- edk2-ArmVirtPkg-Remove-NvmExpressDxe-device-driver-RHEL-o.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-VirtioFsDxe-filesystem-driver-RHEL-on.patch [bz#1967747]
c4e3b2
- edk2-ArmVirtPkg-Remove-VirtioFsDxe-filesystem-driver-RHEL.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-UdfDxe-filesystem-driver-RHEL-only.patch [bz#1967747]
c4e3b2
- edk2-ArmVirtPkg-Remove-UdfDxe-filesystem-driver-RHEL-only.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-TftpDynamicCommand-from-shell-RHEL-on.patch [bz#1967747]
c4e3b2
- edk2-ArmVirtPkg-Remove-TftpDynamicCommand-from-shell-RHEL.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-HttpDynamicCommand-from-shell-RHEL-on.patch [bz#1967747]
c4e3b2
- edk2-ArmVirtPkg-Remove-HttpDynamicCommand-from-shell-RHEL.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-LinuxInitrdDynamicShellCommand-RHEL-o.patch [bz#1967747]
c4e3b2
- edk2-ArmVirtPkg-Remove-LinuxInitrdDynamicShellCommand-RHE.patch [bz#1967747]
c4e3b2
- edk2-OvmfPkg-Remove-Xen-Drivers-RHEL-only.patch [bz#1967747]
c4e3b2
- Resolves: bz#1967747
c4e3b2
  (edk2: review features and drivers shipped in RHEL)
c4e3b2
c4e3b2
* Fri Jul 02 2021 Miroslav Rezanina <mrezanin@redhat.com> - 20210527gite1999b264f1f-2
c4e3b2
- edk2-NetworkPkg-IScsiDxe-wrap-IScsiCHAP-source-files-to-8.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-simplify-ISCSI_CHAP_AUTH_DATA.In.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-clean-up-ISCSI_CHAP_AUTH_DATA.Ou.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-clean-up-library-class-dependenc.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-fix-potential-integer-overflow-i.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-assert-that-IScsiBinToHex-always.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-reformat-IScsiHexToBin-leading-c.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-fix-IScsiHexToBin-hex-parsing.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-fix-IScsiHexToBin-buffer-overflo.patch [bz#1961100]
c4e3b2
- edk2-NetworkPkg-IScsiDxe-check-IScsiHexToBin-return-value.patch [bz#1961100]
c4e3b2
- edk2-redhat-build-UefiShell.iso-with-xorriso-rather-than-.patch [bz#1971840]
c4e3b2
- Resolves: bz#1961100
c4e3b2
  (edk2: remote buffer overflow in IScsiHexToBin function in NetworkPkg/IScsiDxe [rhel-9.0])
c4e3b2
- Resolves: bz#1971840
c4e3b2
  (Please replace genisoimage with xorriso)
c4e3b2
c4e3b2
* Wed Jun 23 2021 Miroslav Rezanina <mrezanin@redhat.com> - 20210527gite1999b264f1f-1
c4e3b2
- Rebase to edk2-stable202105 [bz#1938254]
c4e3b2
- Sync edk2-MdeModulePkg-LzmaCustomDecompressLib-catch-4GB-uncom.patch from RHEL-8
c4e3b2
- Sync edk2-redhat-add-OVMF-binary-that-will-support-SEV-ES.patch from RHEL-8
c4e3b2
- Resolves: bz#1938254
c4e3b2
  ((edk2-rebase-rhel-9.0) - rebase edk2 to edk2-stable202105 for RHEL-9-Beta)
c4e3b2
c4e3b2
* Fri Jan 08 2021 Miroslav Rezanina <mrezanin@redhat.com> - 20200602gitca407c7246bf-1.el9
c4e3b2
- Include fixes to build in RHEL 9 environment (bz#1906468)
c4e3b2
- Resolves: bz#1906468
c4e3b2
  ([RHEL9][FTBFS] edk2 FTBFS on Red Hat Enterprise Linux 9.0.0 Alpha)
c4e3b2
c4e3b2
* Mon Nov 23 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20200602gitca407c7246bf-4.el8
c4e3b2
- edk2-OvmfPkg-SmmControl2Dxe-negotiate-ICH9_LPC_SMI_F_CPU_.patch [bz#1849177]
c4e3b2
- edk2-OvmfPkg-CpuHotplugSmm-fix-CPU-hotplug-race-just-befo.patch [bz#1849177]
c4e3b2
- edk2-OvmfPkg-CpuHotplugSmm-fix-CPU-hotplug-race-just-afte.patch [bz#1849177]
c4e3b2
- edk2-CryptoPkg-OpensslLib-Upgrade-OpenSSL-to-1.1.1g.patch [bz#1893806]
c4e3b2
- edk2-redhat-bump-OpenSSL-dist-git-submodule-to-1.1.1g-RHE.patch [bz#1893806]
c4e3b2
- Resolves: bz#1849177
c4e3b2
  (OVMF: negotiate "SMI on VCPU hotplug" with QEMU)
c4e3b2
- Resolves: bz#1893806
c4e3b2
  (attempt advancing RHEL8 edk2's OpenSSL submodule to RHEL8 OpenSSL 1.1.1g (or later))
c4e3b2
c4e3b2
* Mon Aug 10 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20200602gitca407c7246bf-3.el8
c4e3b2
- edk2-UefiCpuPkg-PiSmmCpuDxeSmm-pause-in-WaitForSemaphore-.patch [bz#1861718]
c4e3b2
- Resolves: bz#1861718
c4e3b2
  (Very slow boot when overcommitting CPU)
c4e3b2
c4e3b2
* Wed Jun 24 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20200602gitca407c7246bf-2.el8
c4e3b2
- edk2-OvmfPkg-QemuKernelLoaderFsDxe-suppress-error-on-no-k.patch [bz#1844682]
c4e3b2
- edk2-OvmfPkg-GenericQemuLoadImageLib-log-Not-Found-at-INF.patch [bz#1844682]
c4e3b2
- edk2-SecurityPkg-Tcg2Dxe-suppress-error-on-no-swtpm-in-si.patch [bz#1844682]
c4e3b2
- Resolves: bz#1844682
c4e3b2
  (silent build of edk2-aarch64 logs DEBUG_ERROR messages that don't actually report serious errors)
c4e3b2
c4e3b2
* Sat Jun 13 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20200602gitca407c7246bf-1.el8
c4e3b2
- Rebase to edk2-stable202005 [bz#1817035]
c4e3b2
- Resolves: bz#1817035
c4e3b2
  ((edk2-rebase-rhel-8.3) - rebase edk2 to upstream tag edk2-stable202005 for RHEL-8.3)
c4e3b2
c4e3b2
* Fri Mar 27 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-9.el8
c4e3b2
- edk2-OvmfPkg-QemuVideoDxe-unbreak-secondary-vga-and-bochs.patch [bz#1806359]
c4e3b2
- Resolves: bz#1806359
c4e3b2
  (bochs-display cannot show graphic wihout driver attach)
c4e3b2
c4e3b2
* Tue Feb 18 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-8.el8
c4e3b2
- edk2-MdeModulePkg-Enable-Disable-S3BootScript-dynamically.patch [bz#1801274]
c4e3b2
- edk2-MdeModulePkg-PiDxeS3BootScriptLib-Fix-potential-nume.patch [bz#1801274]
c4e3b2
- Resolves: bz#1801274
c4e3b2
  (CVE-2019-14563 edk2: numeric truncation in MdeModulePkg/PiDxeS3BootScriptLib [rhel-8])
c4e3b2
c4e3b2
* Tue Feb 11 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-7.el8
c4e3b2
- edk2-SecurityPkg-Fix-spelling-errors-PARTIAL-PICK.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-simplify-Ver.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-remove-else-.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-keep-PE-COFF.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-narrow-down-.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-fix-retval-o.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-remove-super.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-unnest-AddIm.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-eliminate-St.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-fix-retval-f.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-fix-imgexec-.patch [bz#1751993]
c4e3b2
- edk2-SecurityPkg-DxeImageVerificationHandler-fix-defer-vs.patch [bz#1751993]
c4e3b2
- Resolves: bz#1751993
c4e3b2
  (DxeImageVerificationLib handles "DENY execute on security violation" like "DEFER execute on security violation" [rhel8])
c4e3b2
c4e3b2
* Tue Jan 21 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-6.el8
c4e3b2
- edk2-UefiCpuPkg-PiSmmCpuDxeSmm-fix-2M-4K-page-splitting-r.patch [bz#1789335]
c4e3b2
- Resolves: bz#1789335
c4e3b2
  (VM with edk2 can't boot when setting memory with '-m 2001')
c4e3b2
c4e3b2
* Thu Jan 16 2020 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-5.el8
c4e3b2
- edk2-MdeModulePkg-UefiBootManagerLib-log-reserved-mem-all.patch [bz#1789797]
c4e3b2
- edk2-NetworkPkg-HttpDxe-fix-32-bit-truncation-in-HTTPS-do.patch [bz#1789797]
c4e3b2
- Resolves: bz#1789797
c4e3b2
  (Backport upstream patch series: "UefiBootManagerLib, HttpDxe: tweaks for large HTTP(S) downloads" to improve HTTP(S) Boot experience with large (4GiB+) files)
c4e3b2
c4e3b2
* Wed Dec 11 2019 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-4.el8
c4e3b2
- edk2-redhat-set-guest-RAM-size-to-768M-for-SB-varstore-te.patch [bz#1778301]
c4e3b2
- edk2-redhat-re-enable-Secure-Boot-varstore-template-verif.patch [bz#1778301]
c4e3b2
- Resolves: bz#1778301
c4e3b2
  (re-enable Secure Boot (varstore template) verification in %check)
c4e3b2
c4e3b2
* Thu Dec 05 2019 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-3.el8
c4e3b2
- Update used openssl version [bz#1616029]
c4e3b2
- Resolves: bz#1616029
c4e3b2
  (rebuild edk2 against the final RHEL-8.2.0 version of OpenSSL-1.1.1)
c4e3b2
c4e3b2
* Mon Dec 02 2019 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-2.el8
c4e3b2
- edk2-MdePkg-Include-Protocol-Tls.h-Add-the-data-type-of-E.patch [bz#1536624]
c4e3b2
- edk2-CryptoPkg-TlsLib-Add-the-new-API-TlsSetVerifyHost-CV.patch [bz#1536624]
c4e3b2
- edk2-CryptoPkg-Crt-turn-strchr-into-a-function-CVE-2019-1.patch [bz#1536624]
c4e3b2
- edk2-CryptoPkg-Crt-satisfy-inet_pton.c-dependencies-CVE-2.patch [bz#1536624]
c4e3b2
- edk2-CryptoPkg-Crt-import-inet_pton.c-CVE-2019-14553.patch [bz#1536624]
c4e3b2
- edk2-CryptoPkg-TlsLib-TlsSetVerifyHost-parse-IP-address-l.patch [bz#1536624]
c4e3b2
- edk2-NetworkPkg-TlsDxe-Add-the-support-of-host-validation.patch [bz#1536624]
c4e3b2
- edk2-NetworkPkg-HttpDxe-Set-the-HostName-for-the-verifica.patch [bz#1536624]
c4e3b2
- edk2-redhat-enable-HTTPS-Boot.patch [bz#1536624]
c4e3b2
- Resolves: bz#1536624
c4e3b2
  (HTTPS enablement in OVMF)
c4e3b2
c4e3b2
* Fri Nov 29 2019 Miroslav Rezanina <mrezanin@redhat.com> - 20190829git37eef91017ad-1.el8
c4e3b2
- Rebase to edk2-stable201908 [bz#1748180]
c4e3b2
- Resolves: bz#1748180
c4e3b2
  ((edk2-rebase-rhel-8.2) - rebase edk2 to upstream tag edk2-stable201908 for RHEL-8.2)
c4e3b2
c4e3b2
* Mon Aug 05 2019 Miroslav Rezanina <mrezanin@redhat.com> - 20190308git89910a39dcfd-6.el8
c4e3b2
- edk2-ArmVirtPkg-silence-DEBUG_VERBOSE-masking-0x00400000-.patch [bz#1714446]
c4e3b2
- edk2-OvmfPkg-QemuRamfbDxe-Do-not-report-DXE-failure-on-Aa.patch [bz#1714446]
c4e3b2
- edk2-ArmPkg-DebugPeCoffExtraActionLib-debugger-commands-a.patch [bz#1714446]
c4e3b2
- Resolves: bz#1714446
c4e3b2
  (edk2-aarch64 silent build is not silent enough)
c4e3b2
c4e3b2
* Tue Jul 02 2019 Miroslav Rezanina <mrezanin@redhat.com> - 20190308git89910a39dcfd-5.el8
c4e3b2
- edk2-redhat-add-D-TPM2_ENABLE-to-the-edk2-ovmf-build-flag.patch [bz#1693205]
c4e3b2
- Resolves: bz#1693205
c4e3b2
  (edk2: Enable TPM2 support)
c4e3b2
c4e3b2
* Tue Jun 11 2019 Miroslav Rezanina <mrezanin@redhat.com> - 20190308git89910a39dcfd-4.el8
c4e3b2
- edk2-OvmfPkg-raise-the-PCIEXBAR-base-to-2816-MB-on-Q35.patch [bz#1666941]
c4e3b2
- edk2-OvmfPkg-PlatformPei-set-32-bit-UC-area-at-PciBase-Pc.patch [bz#1666941]
c4e3b2
- Resolves: bz#1666941
c4e3b2
  (UEFI guest cannot boot into os when setting some special memory size)
c4e3b2
c4e3b2
* Tue Apr 09 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 20190308git89910a39dcfd-2.el8
c4e3b2
- edk2-redhat-provide-firmware-descriptor-meta-files.patch [bz#1600230]
c4e3b2
- Resolves: bz#1600230
c4e3b2
  ([RHEL 8.1] RFE: provide firmware descriptor meta-files for the edk2-ovmf and edk2-aarch64 firmware images)
c4e3b2
c4e3b2
* Mon Apr 08 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 20190308git89910a39dcfd-1.el8
c4e3b2
- Rebase to edk2-20190308git89910a39dcfd
c4e3b2
c4e3b2
* Mon Jan 21 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 20180508gitee3198e672e2-9.el8
c4e3b2
- edk2-BaseTools-Fix-UEFI-and-Tiano-Decompression-logic-iss.patch [bz#1662184]
c4e3b2
- edk2-MdePkg-BaseUefiDecompressLib-Fix-UEFI-Decompression-.patch [bz#1662184]
c4e3b2
- edk2-IntelFrameworkModulePkg-Fix-UEFI-and-Tiano-Decompres.patch [bz#1662184]
c4e3b2
- edk2-git-Use-HTTPS-support.patch []
c4e3b2
- Resolves: bz#1662184
c4e3b2
  (backport fix for (theoretical?) regression introduced by earlier CVE fixes)
c4e3b2
c4e3b2
* Wed Nov 21 2018 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 20180508gitee3198e672e2-8.el8
c4e3b2
- edk2-NetworkPkg-UefiPxeBcDxe-Add-EXCLUSIVE-attribute-when.patch [bz#1643377]
c4e3b2
- Resolves: bz#1643377
c4e3b2
  (Exception when grubx64.efi used for UEFI netboot)
c4e3b2
c4e3b2
* Tue Nov 06 2018 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 20180508gitee3198e672e2-5.el8
c4e3b2
- edk2-MdeModulePkg-Variable-Fix-Timestamp-zeroing-issue-on.patch [bz#1641436]
c4e3b2
- edk2-MdePkg-Add-more-checker-in-UefiDecompressLib-to-acce.patch [bz#1641449 bz#1641453 bz#1641464 bz#1641469]
c4e3b2
- edk2-IntelFrameworkModulePkg-Add-more-checker-in-UefiTian.patch [bz#1641453 bz#1641464 bz#1641469]
c4e3b2
- edk2-BaseTools-Add-more-checker-in-Decompress-algorithm-t.patch [bz#1641445 bz#1641453 bz#1641464 bz#1641469]
c4e3b2
- Resolves: bz#1641436
c4e3b2
  (CVE-2018-3613 edk2: Logic error in MdeModulePkg in EDK II firmware allows for privilege escalation by authenticated users [rhel-8])
c4e3b2
- Resolves: bz#1641445
c4e3b2
  (CVE-2017-5731 edk2: Privilege escalation via processing of malformed files in TianoCompress.c [rhel-8])
c4e3b2
- Resolves: bz#1641449
c4e3b2
  (CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c [rhel-8])
c4e3b2
- Resolves: bz#1641453
c4e3b2
  (CVE-2017-5733 edk2: Privilege escalation via heap-based buffer overflow in MakeTable() function [rhel-8])
c4e3b2
- Resolves: bz#1641464
c4e3b2
  (CVE-2017-5734 edk2: Privilege escalation via stack-based buffer overflow in MakeTable() function [rhel-8])
c4e3b2
- Resolves: bz#1641469
c4e3b2
  (CVE-2017-5735 edk2: Privilege escalation via heap-based buffer overflow in Decode() function [rhel-8])
c4e3b2
c4e3b2
* Tue Sep 04 2018 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 20180508gitee3198e672e2-5.el8
c4e3b2
- edk2-BaseTools-footer.makefile-expand-BUILD_CFLAGS-last-f.patch [bz#1607906]
c4e3b2
- edk2-BaseTools-header.makefile-remove-c-from-BUILD_CFLAGS.patch [bz#1607906]
c4e3b2
- edk2-BaseTools-Source-C-split-O2-to-BUILD_OPTFLAGS.patch [bz#1607906]
c4e3b2
- edk2-BaseTools-Source-C-take-EXTRA_OPTFLAGS-from-the-call.patch [bz#1607906]
c4e3b2
- edk2-BaseTools-Source-C-take-EXTRA_LDFLAGS-from-the-calle.patch [bz#1607906]
c4e3b2
- edk2-BaseTools-VfrCompile-honor-EXTRA_LDFLAGS.patch [bz#1607906]
c4e3b2
- edk2-redhat-inject-the-RPM-compile-and-link-options-to-th.patch [bz#1607906]
c4e3b2
- Resolves: bz#1607906
c4e3b2
  (edk2-tools: Does not use RPM build flags)
c4e3b2
c4e3b2
* Wed Aug 08 2018 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 20180508gitee3198e672e2-4.el8
c4e3b2
- edk2-redhat-provide-virtual-bundled-OpenSSL-in-edk2-ovmf-.patch [bz#1607801]
c4e3b2
- Resolves: bz#1607801
c4e3b2
  (add 'Provides: bundled(openssl) = 1.1.0h' to the spec file)
c4e3b2
c4e3b2
* Tue Jul 24 2018 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 20180508gitee3198e672e2-3.el8
c4e3b2
- edk2-redhat-Provide-and-Obsolete-OVMF-and-AAVMF.patch [bz#1596148]
c4e3b2
- edk2-ArmVirtPkg-unify-HttpLib-resolutions-in-ArmVirt.dsc..patch [bz#1536627]
c4e3b2
- edk2-ArmVirtPkg-ArmVirtQemu-enable-the-IPv6-stack.patch [bz#1536627]
c4e3b2
- edk2-advertise-OpenSSL-due-to-IPv6-enablement-too-RHEL-on.patch [bz#1536627]
c4e3b2
- edk2-redhat-add-D-NETWORK_IP6_ENABLE-to-the-build-flags.patch [bz#1536627]
c4e3b2
- edk2-redhat-update-license-fields-and-files-in-the-spec-f.patch [bz#1536627]
c4e3b2
- Resolves: bz#1536627
c4e3b2
  (IPv6 enablement in OVMF)
c4e3b2
- Resolves: bz#1596148
c4e3b2
  (restore Provides/Obsoletes macros for OVMF and AAVMF, from RHEL-8 Alpha)
c4e3b2
c4e3b2
* Tue Jul 10 2018 Danilo C. L. de Paula <ddepaula@redhat.com> - 20180508gitee3198e672e2-2.el8
c4e3b2
- Rebase edk2 on top of 20180508gitee3198e672e2
c4e3b2
c4e3b2
* Fri Jun 08 2018 Miroslav Rezanina <mrezanin@redhat.com> - 20180508-2.gitee3198e672e2
c4e3b2
- OvmfPkg/PlatformBootManagerLib: connect consoles unconditionally [bz#1577546]
c4e3b2
- build OVMF varstore template with SB enabled / certs enrolled [bz#1561128]
c4e3b2
- connect Virtio RNG devices again [bz#1579518]
c4e3b2
- Resolves: bz#1577546
c4e3b2
  (no input consoles connected under certain circumstances)
c4e3b2
- Resolves: bz#1561128
c4e3b2
  (OVMF Secure boot enablement (enrollment of default keys))
c4e3b2
- Resolves: bz#1579518
c4e3b2
  (EFI_RNG_PROTOCOL no longer produced for virtio-rng)
c4e3b2
* Wed Dec 06 2017 Miroslav Rezanina <mrezanin@redhat.com> - 20171011-4.git92d07e48907f.el7
c4e3b2
- ovmf-MdeModulePkg-Core-Dxe-log-informative-memprotect-msg.patch [bz#1520485]
c4e3b2
- ovmf-MdeModulePkg-BdsDxe-fall-back-to-a-Boot-Manager-Menu.patch [bz#1515418]
c4e3b2
- Resolves: bz#1515418
c4e3b2
  (RFE: Provide diagnostics for failed boot)
c4e3b2
- Resolves: bz#1520485
c4e3b2
  (AAVMF: two new messages with silent build)
c4e3b2
c4e3b2
* Fri Dec 01 2017 Miroslav Rezanina <mrezanin@redhat.com> - 20171011-3.git92d07e48907f.el7
c4e3b2
- ovmf-UefiCpuPkg-CpuDxe-Fix-multiple-entries-of-RT_CODE-in.patch [bz#1518308]
c4e3b2
- ovmf-MdeModulePkg-DxeCore-Filter-out-all-paging-capabilit.patch [bz#1518308]
c4e3b2
- ovmf-MdeModulePkg-Core-Merge-memory-map-after-filtering-p.patch [bz#1518308]
c4e3b2
- Resolves: bz#1518308
c4e3b2
  (UEFI memory map regression (runtime code entry splitting) introduced by c1cab54ce57c)
c4e3b2
c4e3b2
* Mon Nov 27 2017 Miroslav Rezanina <mrezanin@redhat.com> - 20171011-2.git92d07e48907f.el7
c4e3b2
- ovmf-MdeModulePkg-Bds-Remove-assertion-in-BmCharToUint.patch [bz#1513632]
c4e3b2
- ovmf-MdeModulePkg-Bds-Check-variable-name-even-if-OptionN.patch [bz#1513632]
c4e3b2
- ovmf-MdeModulePkg-PciBus-Fix-bug-that-PCI-BUS-claims-too-.patch [bz#1514105]
c4e3b2
- ovmf-OvmfPkg-make-it-a-proper-BASE-library.patch [bz#1488247]
c4e3b2
- ovmf-OvmfPkg-create-a-separate-PlatformDebugLibIoPort-ins.patch [bz#1488247]
c4e3b2
- ovmf-OvmfPkg-save-on-I-O-port-accesses-when-the-debug-por.patch [bz#1488247]
c4e3b2
- ovmf-OvmfPkg-enable-DEBUG_VERBOSE-RHEL-only.patch [bz#1488247]
c4e3b2
- ovmf-OvmfPkg-silence-EFI_D_VERBOSE-0x00400000-in-QemuVide.patch [bz#1488247]
c4e3b2
- ovmf-OvmfPkg-silence-EFI_D_VERBOSE-0x00400000-in-NvmExpre.patch [bz#1488247]
c4e3b2
- ovmf-Revert-redhat-introduce-separate-silent-and-verbose-.patch [bz#1488247]
c4e3b2
- Resolves: bz#1488247
c4e3b2
  (make debug logging no-op unless a debug console is active)
c4e3b2
- Resolves: bz#1513632
c4e3b2
  ([RHEL-ALT 7.5] AAVMF fails to boot after setting BootNext)
c4e3b2
- Resolves: bz#1514105
c4e3b2
  (backport edk2 commit 6e3287442774 so that PciBusDxe not over-claim resources)
c4e3b2
c4e3b2
* Wed Oct 18 2017 Miroslav Rezanina <mrezanin@redhat.com> - 20171011-1.git92d07e48907f.el7
c4e3b2
- Rebase to 92d07e48907f [bz#1469787]
c4e3b2
- Resolves: bz#1469787
c4e3b2
  ((ovmf-rebase-rhel-7.5) Rebase OVMF for RHEL-7.5)
c4e3b2
- Resolves: bz#1434740
c4e3b2
  (OvmfPkg/PciHotPlugInitDxe: don't reserve IO space when IO support is disabled)
c4e3b2
- Resolves: bz#1434747
c4e3b2
  ([Q35] code12 error when hotplug x710 device in win2016)
c4e3b2
- Resolves: bz#1447027
c4e3b2
  (Guest cannot boot with 240 or above vcpus when using ovmf)
c4e3b2
- Resolves: bz#1458192
c4e3b2
  ([Q35] recognize "usb-storage" devices in XHCI ports)
c4e3b2
- Resolves: bz#1468526
c4e3b2
  (>1TB RAM support)
c4e3b2
- Resolves: bz#1488247
c4e3b2
  (provide "OVMF_CODE.secboot.verbose.fd" for log capturing; silence "OVMF_CODE.secboot.fd")
c4e3b2
- Resolves: bz#1496170
c4e3b2
  (Inconsistent MOR control variables exposed by OVMF, breaks Windows Device Guard)
c4e3b2
c4e3b2
* Fri May 12 2017 Miroslav Rezanina <mrezanin@redhat.com> - 20170228-5.gitc325e41585e3.el7
c4e3b2
- ovmf-OvmfPkg-EnrollDefaultKeys-update-SignatureOwner-GUID.patch [bz#1443351]
c4e3b2
- ovmf-OvmfPkg-EnrollDefaultKeys-expose-CertType-parameter-.patch [bz#1443351]
c4e3b2
- ovmf-OvmfPkg-EnrollDefaultKeys-blacklist-empty-file-in-db.patch [bz#1443351]
c4e3b2
- ovmf-OvmfPkg-introduce-the-FD_SIZE_IN_KB-macro-build-flag.patch [bz#1443351]
c4e3b2
- ovmf-OvmfPkg-OvmfPkg.fdf.inc-extract-VARS_LIVE_SIZE-and-V.patch [bz#1443351]
c4e3b2
- ovmf-OvmfPkg-introduce-4MB-flash-image-mainly-for-Windows.patch [bz#1443351]
c4e3b2
- ovmf-OvmfPkg-raise-max-variable-size-auth-non-auth-to-33K.patch [bz#1443351]
c4e3b2
- ovmf-OvmfPkg-PlatformPei-handle-non-power-of-two-spare-si.patch [bz#1443351]
c4e3b2
- ovmf-redhat-update-local-build-instructions-with-D-FD_SIZ.patch [bz#1443351]
c4e3b2
- ovmf-redhat-update-OVMF-build-commands-with-D-FD_SIZE_4MB.patch [bz#1443351]
c4e3b2
- Resolves: bz#1443351
c4e3b2
  ([svvp][ovmf] job "Secure Boot Logo Test" failed  with q35&ovmf)
c4e3b2
c4e3b2
* Fri Apr 28 2017 Miroslav Rezanina <mrezanin@redhat.com> - 20170228-4.gitc325e41585e3.el7
c4e3b2
- ovmf-ShellPkg-Shell-clean-up-bogus-member-types-in-SPLIT_.patch [bz#1442908]
c4e3b2
- ovmf-ShellPkg-Shell-eliminate-double-free-in-RunSplitComm.patch [bz#1442908]
c4e3b2
- Resolves: bz#1442908
c4e3b2
  (Guest hang when running a wrong command in Uefishell)
c4e3b2
c4e3b2
* Tue Apr 04 2017 Miroslav Rezanina <mrezanin@redhat.com> - 20170228-3.gitc325e41585e3.el7
c4e3b2
- ovmf-ArmVirtPkg-FdtClientDxe-supplement-missing-EFIAPI-ca.patch [bz#1430262]
c4e3b2
- ovmf-ArmVirtPkg-ArmVirtPL031FdtClientLib-unconditionally-.patch [bz#1430262]
c4e3b2
- ovmf-MdeModulePkg-RamDiskDxe-fix-C-string-literal-catenat.patch [bz#1430262]
c4e3b2
- ovmf-EmbeddedPkg-introduce-EDKII-Platform-Has-ACPI-GUID.patch [bz#1430262]
c4e3b2
- ovmf-EmbeddedPkg-introduce-PlatformHasAcpiLib.patch [bz#1430262]
c4e3b2
- ovmf-EmbeddedPkg-introduce-EDKII-Platform-Has-Device-Tree.patch [bz#1430262]
c4e3b2
- ovmf-ArmVirtPkg-add-PlatformHasAcpiDtDxe.patch [bz#1430262]
c4e3b2
- ovmf-ArmVirtPkg-enable-AcpiTableDxe-and-EFI_ACPI_TABLE_PR.patch [bz#1430262]
c4e3b2
- ovmf-ArmVirtPkg-FdtClientDxe-install-DT-as-sysconfig-tabl.patch [bz#1430262]
c4e3b2
- ovmf-ArmVirtPkg-PlatformHasAcpiDtDxe-don-t-expose-DT-if-Q.patch [bz#1430262]
c4e3b2
- ovmf-ArmVirtPkg-remove-PURE_ACPI_BOOT_ENABLE-and-PcdPureA.patch [bz#1430262]
c4e3b2
- Resolves: bz#1430262
c4e3b2
  (AAVMF: forward QEMU's DT to the guest OS only if ACPI payload is unavailable)
c4e3b2
c4e3b2
* Mon Mar 27 2017 Miroslav Rezanina <mrezanin@redhat.com> - 20170228-2.gitc325e41585e3.el7
c4e3b2
- ovmf-MdeModulePkg-Core-Dxe-downgrade-CodeSegmentCount-is-.patch [bz#1433428]
c4e3b2
- Resolves: bz#1433428
c4e3b2
  (AAVMF: Fix error message during ARM guest VM installation)
c4e3b2
c4e3b2
* Wed Mar 08 2017 Laszlo Ersek <lersek@redhat.com> - ovmf-20170228-1.gitc325e41585e3.el7
c4e3b2
- Rebase to upstream c325e41585e3 [bz#1416919]
c4e3b2
- Resolves: bz#1373812
c4e3b2
  (guest boot from network even set 'boot order=1' for virtio disk with OVMF)
c4e3b2
- Resolves: bz#1380282
c4e3b2
  (Update OVMF to openssl-1.0.2k-hobbled)
c4e3b2
- Resolves: bz#1412313
c4e3b2
  (select broadcast SMI if available)
c4e3b2
- Resolves: bz#1416919
c4e3b2
  (Rebase OVMF for RHEL-7.4)
c4e3b2
- Resolves: bz#1426330
c4e3b2
  (disable libssl in CryptoPkg)
c4e3b2
c4e3b2
* Mon Sep 12 2016 Laszlo Ersek <lersek@redhat.com> - ovmf-20160608b-1.git988715a.el7
c4e3b2
- rework downstream-only commit dde83a75b566 "setup the tree for the secure
c4e3b2
  boot feature (RHEL only)", excluding patent-encumbered files from the
c4e3b2
  upstream OpenSSL 1.0.2g tarball [bz#1374710]
c4e3b2
- rework downstream-only commit dfc3ca1ee509 "CryptoPkg/OpensslLib: Upgrade
c4e3b2
  OpenSSL version to 1.0.2h", excluding patent-encumbered files from the
c4e3b2
  upstream OpenSSL 1.0.2h tarball [bz#1374710]
c4e3b2
c4e3b2
* Thu Aug 04 2016 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20160608-3.git988715a.el7
c4e3b2
- ovmf-MdePkg-PCI-Add-missing-PCI-PCIE-definitions.patch [bz#1332408]
c4e3b2
- ovmf-ArmPlatformPkg-NorFlashDxe-accept-both-non-secure-an.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-ArmVirtQemu-switch-secure-boot-build-to-N.patch [bz#1353494]
c4e3b2
- ovmf-ArmPlatformPkg-NorFlashAuthenticatedDxe-remove-this-.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-add-FDF-definition-for-empty-varstore.patch [bz#1353494]
c4e3b2
- ovmf-redhat-package-the-varstore-template-produced-by-the.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-Re-add-the-Driver-Health-Manager.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-HighMemDxe-allow-patchable-PCD-for-PcdSys.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-ArmVirtQemuKernel-make-ACPI-support-AARCH.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-align-ArmVirtQemuKernel-with-ArmVirtQemu.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-ArmVirtQemu-factor-out-shared-FV.FvMain-d.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-factor-out-Rules-FDF-section.patch [bz#1353494]
c4e3b2
- ovmf-ArmVirtPkg-add-name-GUIDs-to-FvMain-instances.patch [bz#1353494]
c4e3b2
- ovmf-OvmfPkg-add-a-Name-GUID-to-each-Firmware-Volume.patch [bz#1353494]
c4e3b2
- ovmf-OvmfPkg-PlatformBootManagerLib-remove-stale-FvFile-b.patch [bz#1353494]
c4e3b2
- ovmf-MdePkg-IndustryStandard-introduce-EFI_PCI_CAPABILITY.patch [bz#1332408]
c4e3b2
- ovmf-MdeModulePkg-PciBusDxe-look-for-the-right-capability.patch [bz#1332408]
c4e3b2
- ovmf-MdeModulePkg-PciBusDxe-recognize-hotplug-capable-PCI.patch [bz#1332408]
c4e3b2
- ovmf-OvmfPkg-add-PciHotPlugInitDxe.patch [bz#1332408]
c4e3b2
- ovmf-ArmPkg-ArmGicLib-manage-GICv3-SPI-state-at-the-distr.patch [bz#1356655]
c4e3b2
- ovmf-ArmVirtPkg-PlatformBootManagerLib-remove-stale-FvFil.patch [bz#1353494]
c4e3b2
- ovmf-OvmfPkg-EnrollDefaultKeys-assign-Status-before-readi.patch [bz#1356913]
c4e3b2
- ovmf-OvmfPkg-EnrollDefaultKeys-silence-VS2015x86-warning-.patch [bz#1356913]
c4e3b2
- ovmf-CryptoPkg-update-openssl-to-ignore-RVCT-3079.patch [bz#1356184]
c4e3b2
- ovmf-CryptoPkg-Fix-typos-in-comments.patch [bz#1356184]
c4e3b2
- ovmf-CryptoPkg-BaseCryptLib-Avoid-passing-NULL-ptr-to-fun.patch [bz#1356184]
c4e3b2
- ovmf-CryptoPkg-BaseCryptLib-Init-the-content-of-struct-Ce.patch [bz#1356184]
c4e3b2
- ovmf-CryptoPkg-OpensslLib-Upgrade-OpenSSL-version-to-1.0..patch [bz#1356184]
c4e3b2
- Resolves: bz#1332408
c4e3b2
  (Q35 machine can not hot-plug scsi controller under switch)
c4e3b2
- Resolves: bz#1353494
c4e3b2
  ([OVMF] "EFI Internal Shell" should be removed from "Boot Manager")
c4e3b2
- Resolves: bz#1356184
c4e3b2
  (refresh embedded OpenSSL to 1.0.2h)
c4e3b2
- Resolves: bz#1356655
c4e3b2
  (AAVMF: stop accessing unmapped gicv3 registers)
c4e3b2
- Resolves: bz#1356913
c4e3b2
  (fix use-without-initialization in EnrollDefaultKeys.efi)
c4e3b2
c4e3b2
* Tue Jul 12 2016 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20160608-2.git988715a.el7
c4e3b2
- ovmf-ArmPkg-ArmGicV3Dxe-configure-all-interrupts-as-non-s.patch [bz#1349407]
c4e3b2
- ovmf-ArmVirtPkg-PlatformBootManagerLib-Postpone-the-shell.patch [bz#1353689]
c4e3b2
- Resolves: bz#1349407
c4e3b2
  (AArch64: backport fix to run over gicv3 emulation)
c4e3b2
- Resolves: bz#1353689
c4e3b2
  (AAVMF: Drops to shell with uninitialized NVRAM file)
c4e3b2
c4e3b2
* Thu Jun 9 2016 Laszlo Ersek <lersek@redhat.com> - ovmf-20160608-1.git988715a.el7
c4e3b2
- Resolves: bz#1341733
c4e3b2
  (prevent SMM stack overflow in OVMF while enrolling certificates in "db")
c4e3b2
- Resolves: bz#1257882
c4e3b2
  (FEAT: support to boot from virtio 1.0 modern devices)
c4e3b2
- Resolves: bz#1333238
c4e3b2
  (Q35 machine can not boot up successfully with more than 3 virtio-scsi
c4e3b2
  storage controller under switch)
c4e3b2
- Resolves: bz#1330955
c4e3b2
  (VM can not be booted up from hard disk successfully when with a passthrough
c4e3b2
  USB stick)
c4e3b2
c4e3b2
* Thu May 19 2016 Laszlo Ersek <lersek@redhat.com> - ovmf-20160419-2.git90bb4c5.el7
c4e3b2
- Submit scratch builds from the exploded tree again to
c4e3b2
  supp-rhel-7.3-candidate, despite FatPkg being OSS at this point; see
c4e3b2
  bz#1329559.
c4e3b2
c4e3b2
* Wed Apr 20 2016 Laszlo Ersek <lersek@redhat.com> - ovmf-20160419-1.git90bb4c5.el7
c4e3b2
- FatPkg is under the 2-clause BSDL now; "ovmf" has become OSS
c4e3b2
- upgrade to openssl-1.0.2g
c4e3b2
- Resolves: bz#1323363
c4e3b2
  (remove "-D SECURE_BOOT_ENABLE" from AAVMF)
c4e3b2
- Resolves: bz#1257882
c4e3b2
  (FEAT: support to boot from virtio 1.0 modern devices)
c4e3b2
- Resolves: bz#1308678
c4e3b2
  (clearly separate SB-less, SMM-less OVMF binary from SB+SMM OVMF binary)
c4e3b2
c4e3b2
* Fri Feb 19 2016 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20160202-2.gitd7c0dfa.el7
c4e3b2
- ovmf-restore-TianoCore-splash-logo-without-OpenSSL-advert.patch [bz#1308678]
c4e3b2
- ovmf-OvmfPkg-ArmVirtPkg-show-OpenSSL-less-logo-without-Se.patch [bz#1308678]
c4e3b2
- ovmf-OvmfPkg-simplify-VARIABLE_STORE_HEADER-generation.patch [bz#1308678]
c4e3b2
- ovmf-redhat-bring-back-OVMF_CODE.fd-but-without-SB-and-wi.patch [bz#1308678]
c4e3b2
- ovmf-redhat-rename-OVMF_CODE.smm.fd-to-OVMF_CODE.secboot..patch [bz#1308678]
c4e3b2
c4e3b2
* Tue Feb 2 2016 Laszlo Ersek <lersek@redhat.com> - ovmf-20160202-1.gitd7c0dfa.el7
c4e3b2
- rebase to upstream d7c0dfa
c4e3b2
- update OpenSSL to 1.0.2e (upstream)
c4e3b2
- update FatPkg to SVN r97 (upstream)
c4e3b2
- drive NVMe devices (upstream)
c4e3b2
- resize xterm on serial console mode change, when requested with
c4e3b2
  -fw_cfg name=opt/(ovmf|aavmf)/PcdResizeXterm,string=y
c4e3b2
  (downstream)
c4e3b2
- Resolves: bz#1259395
c4e3b2
  (revert / roll back AAVMF fix for BZ 1188054)
c4e3b2
- Resolves: bz#1202819
c4e3b2
  (OVMF: secure boot limitations)
c4e3b2
- Resolves: bz#1182495
c4e3b2
  (OVMF rejects iPXE oprom when Secure Boot is enabled)
c4e3b2
c4e3b2
* Thu Nov 5 2015 Laszlo Ersek <lersek@redhat.com> - ovmf-20151104-1.gitb9ffeab.el7
c4e3b2
- rebase to upstream b9ffeab
c4e3b2
- Resolves: bz#1207554
c4e3b2
  ([AAVMF] AArch64: populate SMBIOS)
c4e3b2
- Resolves: bz#1270279
c4e3b2
  (AAVMF: output improvements)
c4e3b2
c4e3b2
* Thu Jun 25 2015 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20150414-2.gitc9e5618.el7
c4e3b2
- ovmf-OvmfPkg-PlatformPei-set-SMBIOS-entry-point-version-d.patch [bz#1232876]
c4e3b2
- Resolves: bz#1232876
c4e3b2
  (OVMF should install a version 2.8 SMBIOS entry point)
c4e3b2
c4e3b2
* Sat Apr 18 2015 Laszlo Ersek <lersek@redhat.com> - 20150414-1.gitc9e5618.el7
c4e3b2
- rebase from upstream 9ece15a to c9e5618
c4e3b2
- adapt .gitignore files
c4e3b2
- update to openssl-0.9.8zf
c4e3b2
- create Logo-OpenSSL.bmp rather than modifying Logo.bmp in-place
c4e3b2
- update to FatPkg SVN r93 (git 8ff136aa)
c4e3b2
- drop the following downstream-only patches (obviated by upstream
c4e3b2
  counterparts):
c4e3b2
  "tools_def.template: use forward slash with --add-gnu-debuglink (RHEL only)"
c4e3b2
  "tools_def.template: take GCC48 prefixes from environment (RHEL only)"
c4e3b2
  "OvmfPkg: set video resolution of text setup to 640x480 (RHEL only)"
c4e3b2
  "OvmfPkg: resolve OrderedCollectionLib with base red-black tree instance"
c4e3b2
  "OvmfPkg: AcpiPlatformDxe: actualize QemuLoader.h comments"
c4e3b2
  "OvmfPkg: AcpiPlatformDxe: remove current ACPI table loader"
c4e3b2
  "OvmfPkg: AcpiPlatformDxe: implement QEMU's full ACPI table loader interface"
c4e3b2
  "OvmfPkg: QemuVideoDxe: fix querying of QXL's drawable buffer size"
c4e3b2
  "OvmfPkg: disable stale fork of SecureBootConfigDxe"
c4e3b2
  "OvmfPkg: SecureBootConfigDxe: remove stale fork"
c4e3b2
  "Try to read key strike even when ..."
c4e3b2
  "OvmfPkg: BDS: remove dead call to PlatformBdsEnterFrontPage()"
c4e3b2
  "OvmfPkg: BDS: drop useless return statement"
c4e3b2
  "OvmfPkg: BDS: don't overwrite the BDS Front Page timeout"
c4e3b2
  "OvmfPkg: BDS: optimize second argument in PlatformBdsEnterFrontPage() call"
c4e3b2
  'OvmfPkg: BDS: drop superfluous "connect first boot option" logic'
c4e3b2
  "OvmfPkg: BDS: drop custom boot timeout, revert to IntelFrameworkModulePkg's"
c4e3b2
  "Add comments to clarify mPubKeyStore buffer MemCopy. ..."
c4e3b2
  "MdeModulePkg/SecurityPkg Variable: Add boundary check..."
c4e3b2
  "OvmfPkg: AcpiPlatformDxe: make dependency on PCI enumeration explicit"
c4e3b2
  "MdePkg: UefiScsiLib: do not encode LUN in CDB for READ and WRITE"
c4e3b2
  "MdePkg: UefiScsiLib: do not encode LUN in CDB for other SCSI commands"
c4e3b2
- merge downstream AAVMF patch "adapt packaging to Arm64", which forces us to
c4e3b2
  rename the main package from "OVMF" to "ovmf"
c4e3b2
- drop the following ARM BDS specific tweaks (we'll only build the Intel BDS):
c4e3b2
  "ArmPlatformPkg/Bds: generate ESP Image boot option if user pref is unset
c4e3b2
   (Acadia)"
c4e3b2
  "ArmPlatformPkg/Bds: check for other defaults too if user pref is unset
c4e3b2
   (Acadia)"
c4e3b2
  "ArmPlatformPkg/ArmVirtualizationPkg: auto-detect boot path (Acadia)"
c4e3b2
  "ArmPlatformPkg/Bds: initialize ConIn/ConOut/ErrOut before connecting
c4e3b2
   terminals"
c4e3b2
  "ArmPlatformPkg/Bds: let FindCandidate() search all filesystems"
c4e3b2
  "ArmPlatformPkg/Bds: FindCandidateOnHandle(): log full device path"
c4e3b2
  "ArmPlatformPkg/Bds: fall back to Boot Menu when no default option was found"
c4e3b2
  "ArmPlatformPkg/Bds: always connect drivers before looking at boot options"
c4e3b2
- drop patch "ArmPlatformPkg/ArmVirtualizationPkg: enable DEBUG_VERBOSE (Acadia
c4e3b2
  only)", obsoleted by fixed bug 1197141
c4e3b2
- tweak patch "write up build instructions (for interactive, local development)
c4e3b2
  (RHELSA)". The defaults in "BaseTools/Conf/target.template", ie.
c4e3b2
  ACTIVE_PLATFORM and TARGET_ARCH, are set for OVMF / X64. The AAVMF build
c4e3b2
  instructions now spell out the necessary override options (-p and -a,
c4e3b2
  respectively).
c4e3b2
- extend patch "build FAT driver from source (RHELSA)" to the Xen build as well
c4e3b2
  (only for consistency; we don't build for Xen).
c4e3b2
- drop the following downstream-only AAVMF patches, due to the 77d5dac ->
c4e3b2
  c9e5618 AAVMF rebase & join:
c4e3b2
  "redhat/process-rh-specific.sh: fix check for hunk-less filtered patches"
c4e3b2
  "redhat/process-rh-specific.sh: suppress missing files in final 'rm'"
c4e3b2
  "ArmVirtualizationQemu: build UEFI shell from source (Acadia only)"
c4e3b2
  "MdePkg: UefiScsiLib: do not encode LUN in CDB for READ and WRITE"
c4e3b2
  "MdePkg: UefiScsiLib: do not encode LUN in CDB for other SCSI commands"
c4e3b2
  "ArmVirtualizationPkg: work around cache incoherence on KVM affecting DTB"
c4e3b2
  "Changed build target to supp-rhel-7.1-candidate"
c4e3b2
  "ArmVirtualizationPkg: VirtFdtDxe: forward FwCfg addresses from DTB to PCDs"
c4e3b2
  "ArmVirtualizationPkg: introduce QemuFwCfgLib instance for DXE drivers"
c4e3b2
  "ArmVirtualizationPkg: clone PlatformIntelBdsLib from ArmPlatformPkg"
c4e3b2
  "ArmVirtualizationPkg: PlatformIntelBdsLib: add basic policy"
c4e3b2
  "OvmfPkg: extract QemuBootOrderLib"
c4e3b2
  "OvmfPkg: QemuBootOrderLib: featurize PCI-like device path translation"
c4e3b2
  "OvmfPkg: introduce VIRTIO_MMIO_TRANSPORT_GUID"
c4e3b2
  "ArmVirtualizationPkg: VirtFdtDxe: use dedicated VIRTIO_MMIO_TRANSPORT_GUID"
c4e3b2
  "OvmfPkg: QemuBootOrderLib: widen ParseUnitAddressHexList() to UINT64"
c4e3b2
  "OvmfPkg: QemuBootOrderLib: OFW-to-UEFI translation for virtio-mmio"
c4e3b2
  "ArmVirtualizationPkg: PlatformIntelBdsLib: adhere to QEMU's boot order"
c4e3b2
  "ArmVirtualizationPkg: identify "new shell" as builtin shell for Intel BDS"
c4e3b2
  "ArmVirtualizationPkg: Intel BDS: load EFI-stubbed Linux kernel from fw_cfg"
c4e3b2
  'Revert "ArmVirtualizationPkg: work around cache incoherence on KVM affecting
c4e3b2
   DTB"'
c4e3b2
  "OvmfPkg: QemuBootOrderLib: expose QEMU's "-boot menu=on[, splash-time=N]""
c4e3b2
  "OvmfPkg: PlatformBdsLib: get front page timeout from QEMU"
c4e3b2
  "ArmVirtualizationPkg: PlatformIntelBdsLib: get front page timeout from QEMU"
c4e3b2
  "ArmPkg: ArmArchTimerLib: clean up comments"
c4e3b2
  "ArmPkg: ArmArchTimerLib: use edk2-conformant (UINT64 * UINT32) / UINT32"
c4e3b2
  "ArmPkg: ArmArchTimerLib: conditionally rebase to actual timer frequency"
c4e3b2
  "ArmVirtualizationQemu: ask the hardware for the timer frequency"
c4e3b2
  "ArmPkg: DebugPeCoffExtraActionLib: debugger commands are not errors"
c4e3b2
  "ArmPlatformPkg: PEIM startup is not an error"
c4e3b2
  "ArmVirtualizationPkg: PlatformIntelBdsLib: lack of QEMU kernel is no error"
c4e3b2
  "ArmVirtualizationPkg: expose debug message bitmask on build command line"
c4e3b2
- tweak patch "rebase to upstream 77d5dac (Acadia only)": update spec changelog
c4e3b2
  only
c4e3b2
- tweak patch "spec: build AAVMF with the Intel BDS driver (RHELSA only)":
c4e3b2
  apply "-D INTEL_BDS" to manual build instructions in redhat/README too
c4e3b2
- tweak patch "spec: build and install verbose and silent (default) AAVMF
c4e3b2
  binaries": apply DEBUG_PRINT_ERROR_LEVEL setting to interactive build
c4e3b2
  instructions in redhat/README too
c4e3b2
- install OVMF whitepaper as part of the OVMF build's documentation
c4e3b2
- Resolves: bz#1211337
c4e3b2
  (merge AAVMF into OVMF)
c4e3b2
- Resolves: bz#1206523
c4e3b2
  ([AAVMF] fix missing cache maintenance)
c4e3b2
c4e3b2
* Fri Mar 06 2015 Miroslav Rezanina <mrezanin@redhat.com> - AAVMF-20141113-5.git77d5dac.el7_1
c4e3b2
- aavmf-ArmPkg-DebugPeCoffExtraActionLib-debugger-commands-a.patch [bz#1197141]
c4e3b2
- aavmf-ArmPlatformPkg-PEIM-startup-is-not-an-error.patch [bz#1197141]
c4e3b2
- aavmf-ArmVirtualizationPkg-PlatformIntelBdsLib-lack-of-QEM.patch [bz#1197141]
c4e3b2
- aavmf-ArmVirtualizationPkg-expose-debug-message-bitmask-on.patch [bz#1197141]
c4e3b2
- aavmf-spec-build-and-install-verbose-and-silent-default-AA.patch [bz#1197141]
c4e3b2
- Resolves: bz#1197141
c4e3b2
  (create silent & verbose builds)
c4e3b2
c4e3b2
* Tue Feb 10 2015 Miroslav Rezanina <mrezanin@redhat.com> - AAVMF-20141113-4.git77d5dac.el7
c4e3b2
- aavmf-ArmPkg-ArmArchTimerLib-clean-up-comments.patch [bz#1188247]
c4e3b2
- aavmf-ArmPkg-ArmArchTimerLib-use-edk2-conformant-UINT64-UI.patch [bz#1188247]
c4e3b2
- aavmf-ArmPkg-ArmArchTimerLib-conditionally-rebase-to-actua.patch [bz#1188247]
c4e3b2
- aavmf-ArmVirtualizationQemu-ask-the-hardware-for-the-timer.patch [bz#1188247]
c4e3b2
- aavmf-ArmPkg-TimerDxe-smack-down-spurious-timer-interrupt-.patch [bz#1188054]
c4e3b2
- Resolves: bz#1188054
c4e3b2
  (guest reboot (asked from within AAVMF) regressed in 3.19.0-0.rc5.58.aa7a host kernel)
c4e3b2
- Resolves: bz#1188247
c4e3b2
  (backport "fix gBS->Stall()" series)
c4e3b2
c4e3b2
* Mon Jan 19 2015 Miroslav Rezanina <mrezanin@redhat.com> - AAVMF-20141113-3.git77d5dac.el7
c4e3b2
- aavmf-OvmfPkg-QemuBootOrderLib-expose-QEMU-s-boot-menu-on-.patch [bz#1172756]
c4e3b2
- aavmf-OvmfPkg-PlatformBdsLib-get-front-page-timeout-from-Q.patch [bz#1172756]
c4e3b2
- aavmf-ArmVirtualizationPkg-PlatformIntelBdsLib-get-front-p.patch [bz#1172756]
c4e3b2
- Resolves: bz#1172756
c4e3b2
  ([RFE]Expose boot-menu shortcut to domain via AAVMF)
c4e3b2
c4e3b2
* Wed Jan 14 2015 Miroslav Rezanina <mrezanin@redhat.com> - AAVMF-20141113-2.git77d5dac.el7
c4e3b2
- aavmf-ArmVirtualizationPkg-VirtFdtDxe-forward-FwCfg-addres.patch [bz#1172749]
c4e3b2
- aavmf-ArmVirtualizationPkg-introduce-QemuFwCfgLib-instance.patch [bz#1172749]
c4e3b2
- aavmf-ArmVirtualizationPkg-clone-PlatformIntelBdsLib-from-.patch [bz#1172749]
c4e3b2
- aavmf-ArmVirtualizationPkg-PlatformIntelBdsLib-add-basic-p.patch [bz#1172749]
c4e3b2
- aavmf-OvmfPkg-extract-QemuBootOrderLib.patch [bz#1172749]
c4e3b2
- aavmf-OvmfPkg-QemuBootOrderLib-featurize-PCI-like-device-p.patch [bz#1172749]
c4e3b2
- aavmf-OvmfPkg-introduce-VIRTIO_MMIO_TRANSPORT_GUID.patch [bz#1172749]
c4e3b2
- aavmf-ArmVirtualizationPkg-VirtFdtDxe-use-dedicated-VIRTIO.patch [bz#1172749]
c4e3b2
- aavmf-OvmfPkg-QemuBootOrderLib-widen-ParseUnitAddressHexLi.patch [bz#1172749]
c4e3b2
- aavmf-OvmfPkg-QemuBootOrderLib-OFW-to-UEFI-translation-for.patch [bz#1172749]
c4e3b2
- aavmf-ArmVirtualizationPkg-PlatformIntelBdsLib-adhere-to-Q.patch [bz#1172749]
c4e3b2
- aavmf-ArmVirtualizationPkg-identify-new-shell-as-builtin-s.patch [bz#1172749]
c4e3b2
- aavmf-ArmVirtualizationPkg-Intel-BDS-load-EFI-stubbed-Linu.patch [bz#1172749]
c4e3b2
- aavmf-spec-build-AAVMF-with-the-Intel-BDS-driver-RHELSA-on.patch [bz#1172749]
c4e3b2
- aavmf-Revert-ArmVirtualizationPkg-work-around-cache-incohe.patch [bz#1172910]
c4e3b2
- Resolves: bz#1172749
c4e3b2
  (implement fw_cfg, boot order handling, and -kernel booting in ArmVirtualizationQemu)
c4e3b2
- Resolves: bz#1172910
c4e3b2
  (revert Acadia-only workaround (commit df7bca4e) once Acadia host kernel (KVM) is fixed)
c4e3b2
c4e3b2
* Fri Dec 05 2014 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20140822-7.git9ece15a.el7
c4e3b2
- ovmf-MdePkg-UefiScsiLib-do-not-encode-LUN-in-CDB-for-READ.patch [bz#1166971]
c4e3b2
- ovmf-MdePkg-UefiScsiLib-do-not-encode-LUN-in-CDB-for-othe.patch [bz#1166971]
c4e3b2
- Resolves: bz#1166971
c4e3b2
  (virtio-scsi disks and cd-roms with nonzero LUN are rejected with errors)
c4e3b2
c4e3b2
* Tue Nov 25 2014 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20140822-6.git9ece15a.el7
c4e3b2
- ovmf-OvmfPkg-AcpiPlatformDxe-make-dependency-on-PCI-enume.patch [bz#1166027]
c4e3b2
- Resolves: bz#1166027
c4e3b2
  (backport "OvmfPkg: AcpiPlatformDxe: make dependency on PCI enumeration explicit")
c4e3b2
c4e3b2
* Tue Nov 18 2014 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20140822-4.git9ece15a.el7
c4e3b2
- ovmf-Add-comments-to-clarify-mPubKeyStore-buffer-MemCopy.patch [bz#1162314]
c4e3b2
- ovmf-MdeModulePkg-SecurityPkg-Variable-Add-boundary-check.patch [bz#1162314]
c4e3b2
- Resolves: bz#1162314
c4e3b2
 (EMBARGOED OVMF: uefi: INTEL-TA-201410-001 && INTEL-TA-201410-002 [rhel-7.1])
c4e3b2
c4e3b2
* Thu Nov 13 2014 Laszlo Ersek <lersek@redhat.com> - AAVMF-20141113-1.git77d5dac
c4e3b2
- rebased to upstream 77d5dac
c4e3b2
  <https://bugzilla.redhat.com/show_bug.cgi?id=1162314#c1>
c4e3b2
- patch "ArmVirtualizationPkg: FdtPL011SerialPortLib: support UEFI_APPLICATION"
c4e3b2
  is now upstream (SVN r16219, git edb5073)
c4e3b2
c4e3b2
* Thu Nov 13 2014 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20140822-3.git9ece15a.el7
c4e3b2
- ovmf-Revert-OvmfPkg-set-video-resolution-of-text-setup-to.patch [bz#1153927]
c4e3b2
- ovmf-Try-to-read-key-strike-even-when-the-TimeOuts-value-.patch [bz#1153927]
c4e3b2
- ovmf-OvmfPkg-BDS-remove-dead-call-to-PlatformBdsEnterFron.patch [bz#1153927]
c4e3b2
- ovmf-OvmfPkg-BDS-drop-useless-return-statement.patch [bz#1153927]
c4e3b2
- ovmf-OvmfPkg-BDS-don-t-overwrite-the-BDS-Front-Page-timeo.patch [bz#1153927]
c4e3b2
- ovmf-OvmfPkg-BDS-optimize-second-argument-in-PlatformBdsE.patch [bz#1153927]
c4e3b2
- ovmf-OvmfPkg-BDS-drop-superfluous-connect-first-boot-opti.patch [bz#1153927]
c4e3b2
- ovmf-OvmfPkg-BDS-drop-custom-boot-timeout-revert-to-Intel.patch [bz#1153927]
c4e3b2
- ovmf-OvmfPkg-set-video-resolution-of-text-setup-to-640x48.patch [bz#1153927]
c4e3b2
- Resolves: bz#1153927
c4e3b2
  (set NEXTBOOT to uefi setting failed from Windows Recovery console)
c4e3b2
c4e3b2
* Tue Nov 11 2014 Miroslav Rezanina <mrezanin@redhat.com> - OVMF-20140822-2.git9ece15a
c4e3b2
- ovmf-redhat-process-rh-specific.sh-suppress-missing-files.patch [bz#1145784]
c4e3b2
- ovmf-Revert-RH-only-OvmfPkg-QemuVideoDxe-fix-querying-of-.patch [bz#1145784]
c4e3b2
- ovmf-Revert-RH-only-OvmfPkg-AcpiPlatformDxe-implement-QEM.patch [bz#1145784]
c4e3b2
- ovmf-Revert-RH-only-OvmfPkg-AcpiPlatformDxe-remove-curren.patch [bz#1145784]
c4e3b2
- ovmf-Revert-RH-only-OvmfPkg-AcpiPlatformDxe-actualize-Qem.patch [bz#1145784]
c4e3b2
- ovmf-Revert-RH-only-OvmfPkg-resolve-OrderedCollectionLib-.patch [bz#1145784]
c4e3b2
- ovmf-OvmfPkg-QemuVideoDxe-work-around-misreported-QXL-fra.patch [bz#1145784]
c4e3b2
- ovmf-OvmfPkg-resolve-OrderedCollectionLib-with-base-red-b.patch [bz#1145784]
c4e3b2
- ovmf-OvmfPkg-AcpiPlatformDxe-actualize-QemuLoader.h-comme.patch [bz#1145784]
c4e3b2
- ovmf-OvmfPkg-AcpiPlatformDxe-remove-current-ACPI-table-lo.patch [bz#1145784]
c4e3b2
- ovmf-OvmfPkg-AcpiPlatformDxe-implement-QEMU-s-full-ACPI-t.patch [bz#1145784]
c4e3b2
- ovmf-spec-build-small-bootable-ISO-with-standalone-UEFI-s.patch [bz#1147592]
c4e3b2
- ovmf-OvmfPkg-allow-exclusion-of-the-shell-from-the-firmwa.patch [bz#1147592]
c4e3b2
- ovmf-spec-exclude-the-UEFI-shell-from-the-SecureBoot-enab.patch [bz#1147592]
c4e3b2
- ovmf-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch [bz#1148296]
c4e3b2
- ovmf-spec-package-EnrollDefaultKeys.efi-on-UefiShell.iso-.patch [bz#1148296]
c4e3b2
- ovmf-OvmfPkg-disable-stale-fork-of-SecureBootConfigDxe.patch [bz#1148294]
c4e3b2
- ovmf-OvmfPkg-SecureBootConfigDxe-remove-stale-fork.patch [bz#1148294]
c4e3b2
- Resolves: bz#1145784
c4e3b2
  (OVMF sync with QXL and ACPI patches up to edk2 7a9612ce)
c4e3b2
- Resolves: bz#1147592
c4e3b2
  (the binary RPM should include a small ISO file with a directly bootable UEFI shell binary)
c4e3b2
- Resolves: bz#1148294
c4e3b2
  (drop OvmfPkg's stale fork of SecureBootConfigDxe)
c4e3b2
- Resolves: bz#1148296
c4e3b2
  (provide a non-interactive way to auto-enroll important SecureBoot certificates)
c4e3b2
c4e3b2
* Wed Oct 15 2014 Laszlo Ersek <lersek@redhat.com> - AAVMF-20141015-1.gitc373687
c4e3b2
- ported packaging to aarch64 / AAVMF
c4e3b2
c4e3b2
* Fri Aug 22 2014 Laszlo Ersek <lersek@redhat.com> - 20140822-1.git9ece15a.el7
c4e3b2
- rebase from upstream 3facc08 to 9ece15a
c4e3b2
- update to openssl-0.9.8zb
c4e3b2
- update to FatPkg SVN r86 (git 2355ea2c)
c4e3b2
- the following patches of Paolo Bonzini have been merged in upstream; drop the
c4e3b2
  downstream-only copies:
c4e3b2
  7bc1421 edksetup.sh: Look for BuildEnv under EDK_TOOLS_PATH
c4e3b2
  d549344 edksetup.sh: Ensure that WORKSPACE points to the top of an edk2
c4e3b2
          checkout
c4e3b2
  1c023eb BuildEnv: remove useless check before setting $WORKSPACE
c4e3b2
- include the following patches that have been pending review on the upstream
c4e3b2
  list for a long time:
c4e3b2
  [PATCH 0/4] OvmfPkg: complete client for QEMU's ACPI loader interface
c4e3b2
  http://thread.gmane.org/gmane.comp.bios.tianocore.devel/8369
c4e3b2
  [PATCH] OvmfPkg: QemuVideoDxe: fix querying of QXL's drawable buffer size
c4e3b2
  http://thread.gmane.org/gmane.comp.bios.tianocore.devel/8515
c4e3b2
- nasm is a build-time dependency now because upstream BuildTools has started
c4e3b2
  to call it directly
c4e3b2
c4e3b2
* Wed Jul 23 2014 Laszlo Ersek <lersek@redhat.com> - 20140723-1.git3facc08.el7
c4e3b2
- rebase from upstream a618eaa to 3facc08
c4e3b2
- update to openssl-0.9.8za
c4e3b2
- drop downstream-only split varstore patch, rely on upstream's
c4e3b2
c4e3b2
* Tue Jun 24 2014 Miroslav Rezanina <mrezanin@redhat.com> - 20140619-1.gita618eaa.el7
c4e3b2
- Initial version