* Wed Feb 10 2021 Miroslav Rezanina <mrezanin@redhat.com> - 1.14.0-3

- Update to include in RHEL 9 compose
- Resolves: rhbz#1926095
  (qemu-kvm not available for ppc64le)
This commit is contained in:
Miroslav Rezanina 2021-02-10 12:26:32 +01:00
parent eeab0bd3ce
commit 9ba0ec9b13
10 changed files with 43 additions and 69 deletions

View File

@ -1,4 +1,4 @@
From 0c1e0d59ceb3c4c8909d7a7b6e62d19c7ad81bef Mon Sep 17 00:00:00 2001 From d320b19cacb31ca9154682d623dd004eb0681843 Mon Sep 17 00:00:00 2001
From: Radim Krcmar <rkrcmar@redhat.com> From: Radim Krcmar <rkrcmar@redhat.com>
Date: Mon, 10 Mar 2014 15:14:27 +0100 Date: Mon, 10 Mar 2014 15:14:27 +0100
Subject: Workaround for a win8.1-32 S4 resume bug Subject: Workaround for a win8.1-32 S4 resume bug
@ -36,16 +36,6 @@ The reason Windows uses NULL pointer is still unknown, but this bug is
blocking WHQL certification, so we have to work around it in 7.0. blocking WHQL certification, so we have to work around it in 7.0.
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
---
(It is either a Windows bug that is going to be solved on their side,
or we will find a better solution after consulting what went wrong.
Happens on RHEL6 too.)
src/clock.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
(cherry picked from commit aa1c26538deecfd820b7da9b3be09ebc20b7fef9)
--- ---
src/clock.c | 8 +++++++- src/clock.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-) 1 file changed, 7 insertions(+), 1 deletion(-)
@ -70,5 +60,5 @@ index e44e112..298a722 100644
pic_eoi1(); pic_eoi1();
} }
-- --
1.8.3.1 2.18.4

View File

@ -1,4 +1,4 @@
From cd088ce3bc68a6986637c0cd77b94ebff729b89b Mon Sep 17 00:00:00 2001 From 45b10c18abf43fb87ce1f39c8894be498e3ca1ad Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com> From: Gerd Hoffmann <kraxel@redhat.com>
Date: Tue, 19 Apr 2016 11:27:50 +0200 Date: Tue, 19 Apr 2016 11:27:50 +0200
Subject: redhat: reserve more memory on fseg Subject: redhat: reserve more memory on fseg
@ -40,5 +40,5 @@ index 6616721..71841aa 100755
# Layout the 16bit code. This ensures sections with fixed offset # Layout the 16bit code. This ensures sections with fixed offset
# requirements are placed in the correct location. It also places the # requirements are placed in the correct location. It also places the
-- --
1.8.3.1 2.18.4

View File

@ -1,4 +1,4 @@
From 4d08ebd4f8dc19dfc36495473b34c34d53650632 Mon Sep 17 00:00:00 2001 From 1454a162d2bb3e38a4f567ebfd64c75624cb9c19 Mon Sep 17 00:00:00 2001
From: Ladi Prosek <lprosek@redhat.com> From: Ladi Prosek <lprosek@redhat.com>
Date: Mon, 31 Oct 2016 19:33:05 +0100 Date: Mon, 31 Oct 2016 19:33:05 +0100
Subject: vgabios: Reorder video modes to work around a Windows bug Subject: vgabios: Reorder video modes to work around a Windows bug
@ -33,6 +33,9 @@ generate crash dumps.
Signed-off-by: Ladi Prosek <lprosek@redhat.com> Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com> Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
vgasrc/svgamodes.c | 38 ++++++++++++++++++++------------------
1 file changed, 20 insertions(+), 18 deletions(-)
diff --git a/vgasrc/svgamodes.c b/vgasrc/svgamodes.c diff --git a/vgasrc/svgamodes.c b/vgasrc/svgamodes.c
index 6e494c7..008f1b9 100644 index 6e494c7..008f1b9 100644
@ -115,3 +118,6 @@ index 6e494c7..008f1b9 100644
/* custom resolutions for 16:9 displays */ /* custom resolutions for 16:9 displays */
{ 0x193, { MM_DIRECT, 1600, 900, 16, 8, 16, SEG_GRAPH } }, { 0x193, { MM_DIRECT, 1600, 900, 16, 8, 16, SEG_GRAPH } },
--
2.18.4

View File

@ -1,2 +0,0 @@
CONFIG_QEMU_HARDWARE=y
CONFIG_COREBOOT=y

View File

@ -1,2 +0,0 @@
CONFIG_QEMU_HARDWARE=y
CONFIG_CSM=y

View File

@ -1,26 +0,0 @@
CONFIG_QEMU=y
CONFIG_QEMU_HARDWARE=y
CONFIG_PERMIT_UNALIGNED_PCIROM=y
CONFIG_ROM_SIZE=128
CONFIG_XEN=n
CONFIG_BOOTSPLASH=n
CONFIG_ATA=n
CONFIG_AHCI=n
CONFIG_SDCARD=n
CONFIG_PVSCSI=n
CONFIG_ESP_SCSI=n
CONFIG_LSI_SCSI=n
CONFIG_MEGASAS=n
CONFIG_MPT_SCSI=n
CONFIG_FLOPPY=n
CONFIG_FLASH_FLOPPY=n
CONFIG_NVME=n
CONFIG_PS2PORT=n
CONFIG_USB=n
CONFIG_LPT=n
CONFIG_RTC_TIMER=n
CONFIG_USE_SMM=n
CONFIG_PMTIMER=n
CONFIG_TCGBIOS=n
CONFIG_HARDWARE_IRQ=n
CONFIG_ACPI_PARSE=y

View File

@ -1,4 +0,0 @@
CONFIG_QEMU=y
CONFIG_BUILD_VGABIOS=y
CONFIG_VGA_ATI=y
CONFIG_VGA_PCI=y

View File

@ -1,3 +0,0 @@
CONFIG_BUILD_VGABIOS=y
CONFIG_VGA_BOCHS=y
CONFIG_VGA_PCI=n

View File

@ -1,6 +0,0 @@
CONFIG_BUILD_VGABIOS=y
CONFIG_VGA_BOCHS=y
CONFIG_VGA_PCI=y
CONFIG_OVERRIDE_PCI_ID=y
CONFIG_VGA_VID=0x15ad
CONFIG_VGA_DID=0x0405

View File

@ -4,41 +4,48 @@
Name: seabios Name: seabios
Version: 1.14.0 Version: 1.14.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Open-source legacy BIOS implementation Summary: Open-source legacy BIOS implementation
License: LGPLv3 License: LGPLv3
URL: http://www.coreboot.org/SeaBIOS URL: https://www.coreboot.org/SeaBIOS
Source0: http://code.coreboot.org/p/seabios/downloads/get/%{name}-%{version}.tar.gz Source0: https://code.coreboot.org/p/seabios/downloads/get/seabios-1.14.0.tar.gz
Patch0001: 0001-Workaround-for-a-win8.1-32-S4-resume-bug.patch Patch0002: 0002-Workaround-for-a-win8.1-32-S4-resume-bug.patch
Patch0002: 0002-reserve-more-memory-on-fseg.patch Patch0003: 0003-redhat-reserve-more-memory-on-fseg.patch
Patch0003: 0003-vgabios-Reorder-video-modes-to-work-around-a-Windows.patch Patch0004: 0004-vgabios-Reorder-video-modes-to-work-around-a-Windows.patch
Source10: config.vga-cirrus Source10: config.vga-cirrus
%if 0%{?fedora:1}
Source11: config.vga-isavga Source11: config.vga-isavga
%endif
Source12: config.vga-qxl Source12: config.vga-qxl
Source13: config.vga-stdvga Source13: config.vga-stdvga
%if 0%{?fedora:1}
Source14: config.vga-vmware Source14: config.vga-vmware
Source15: config.csm Source15: config.csm
Source16: config.coreboot Source16: config.coreboot
%endif
Source17: config.seabios-128k Source17: config.seabios-128k
Source18: config.seabios-256k Source18: config.seabios-256k
Source19: config.vga-virtio Source19: config.vga-virtio
Source20: config.vga-ramfb Source20: config.vga-ramfb
Source21: config.vga-bochs-display Source21: config.vga-bochs-display
%if 0%{?fedora:1}
Source22: config.vga-ati Source22: config.vga-ati
Source23: config.seabios-microvm Source23: config.seabios-microvm
%endif
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: python3 iasl BuildRequires: python3 iasl
%if 0%{?cross:1} %if 0%{?cross:1}
BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu
Buildarch: noarch Buildarch: noarch
%else %else
ExclusiveArch: x86_64 ExclusiveArch: x86_64 %{power64}
%endif %endif
Requires: %{name}-bin = %{version}-%{release} Requires: %{name}-bin = %{version}-%{release}
@ -90,19 +97,20 @@ SeaVGABIOS is an open-source VGABIOS implementation.
%autopatch -p1 %autopatch -p1
%build %build
%ifarch x86_64
%define _lto_cflags %{nil} %define _lto_cflags %{nil}
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"
mkdir binaries mkdir binaries
build_bios() { build_bios() {
make clean distclean make PYTHON=%{__python3} clean distclean
cp $1 .config cp $1 .config
echo "CONFIG_DEBUG_LEVEL=%{debug_level}" >> .config echo "CONFIG_DEBUG_LEVEL=%{debug_level}" >> .config
make oldnoconfig V=1 make PYTHON=%{__python3} oldnoconfig V=1 EXTRAVERSION="-%release"
make V=1 \ make V=1 \
EXTRAVERSION="-%{release}" \ EXTRAVERSION="-%{release}" \
PYTHON=python3 \ PYTHON=%{__python3} \
%if 0%{?cross:1} %if 0%{?cross:1}
HOSTCC=gcc \ HOSTCC=gcc \
CC=x86_64-linux-gnu-gcc \ CC=x86_64-linux-gnu-gcc \
@ -120,14 +128,19 @@ build_bios() {
# seabios # seabios
build_bios %{_sourcedir}/config.seabios-128k bios.bin bios.bin build_bios %{_sourcedir}/config.seabios-128k bios.bin bios.bin
build_bios %{_sourcedir}/config.seabios-256k bios.bin bios-256k.bin build_bios %{_sourcedir}/config.seabios-256k bios.bin bios-256k.bin
build_bios %{_sourcedir}/config.seabios-microvm bios.bin bios-microvm.bin
%if 0%{?fedora:1} %if 0%{?fedora:1}
build_bios %{_sourcedir}/config.seabios-microvm bios.bin bios-microvm.bin
build_bios %{_sourcedir}/config.csm Csm16.bin bios-csm.bin build_bios %{_sourcedir}/config.csm Csm16.bin bios-csm.bin
build_bios %{_sourcedir}/config.coreboot bios.bin.elf bios-coreboot.bin build_bios %{_sourcedir}/config.coreboot bios.bin.elf bios-coreboot.bin
%endif %endif
# seavgabios # seavgabios
%if 0%{?fedora:1}
%global vgaconfigs bochs-display cirrus isavga qxl stdvga ramfb vmware virtio %global vgaconfigs bochs-display cirrus isavga qxl stdvga ramfb vmware virtio
%else
%global vgaconfigs cirrus qxl stdvga virtio ramfb bochs-display
%endif
for config in %{vgaconfigs}; do for config in %{vgaconfigs}; do
build_bios %{_sourcedir}/config.vga-${config} \ build_bios %{_sourcedir}/config.vga-${config} \
vgabios.bin vgabios-${config}.bin out/vgabios.bin vgabios.bin vgabios-${config}.bin out/vgabios.bin
@ -158,8 +171,16 @@ install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios
%dir %{_datadir}/seavgabios/ %dir %{_datadir}/seavgabios/
%{_datadir}/seavgabios/vgabios*.bin %{_datadir}/seavgabios/vgabios*.bin
# endif for %ifarch x86_64 {power64}
%endif
%changelog %changelog
* Wed Feb 10 2021 Miroslav Rezanina <mrezanin@redhat.com> - 1.14.0-3
- Update to include in RHEL 9 compose
- Resolves: rhbz#1926095
(qemu-kvm not available for ppc64le)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild