render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

Blame SPECS/edk2.spec

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