import seabios-1.14.0-7.el9
This commit is contained in:
parent
50a581bda5
commit
f92649907d
@ -1,10 +1,6 @@
|
||||
%if 0%{?fedora:1}
|
||||
%define cross 1
|
||||
%endif
|
||||
|
||||
Name: seabios
|
||||
Version: 1.14.0
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Open-source legacy BIOS implementation
|
||||
|
||||
License: LGPLv3
|
||||
@ -16,37 +12,22 @@ Patch0002: 0002-Workaround-for-a-win8.1-32-S4-resume-bug.patch
|
||||
Patch0003: 0003-redhat-reserve-more-memory-on-fseg.patch
|
||||
Patch0004: 0004-vgabios-Reorder-video-modes-to-work-around-a-Windows.patch
|
||||
|
||||
# Source-git patches
|
||||
|
||||
Source10: config.vga-cirrus
|
||||
%if 0%{?fedora:1}
|
||||
Source11: config.vga-isavga
|
||||
%endif
|
||||
Source12: config.vga-qxl
|
||||
Source13: config.vga-stdvga
|
||||
%if 0%{?fedora:1}
|
||||
Source14: config.vga-vmware
|
||||
Source15: config.csm
|
||||
Source16: config.coreboot
|
||||
%endif
|
||||
Source17: config.seabios-128k
|
||||
Source18: config.seabios-256k
|
||||
Source19: config.vga-virtio
|
||||
Source20: config.vga-ramfb
|
||||
Source21: config.vga-bochs-display
|
||||
%if 0%{?fedora:1}
|
||||
Source22: config.vga-ati
|
||||
Source23: config.seabios-microvm
|
||||
%endif
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3 iasl
|
||||
|
||||
%if 0%{?cross:1}
|
||||
BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu
|
||||
Buildarch: noarch
|
||||
%else
|
||||
ExclusiveArch: x86_64
|
||||
%endif
|
||||
|
||||
Requires: %{name}-bin = %{version}-%{release}
|
||||
Requires: seavgabios-bin = %{version}-%{release}
|
||||
@ -104,6 +85,7 @@ mkdir binaries
|
||||
build_bios() {
|
||||
make PYTHON=%{__python3} clean distclean
|
||||
cp $1 .config
|
||||
echo "CONFIG_TCGBIOS=n" >> .config
|
||||
echo "CONFIG_DEBUG_LEVEL=%{debug_level}" >> .config
|
||||
make PYTHON=%{__python3} oldnoconfig V=1 EXTRAVERSION="-%release"
|
||||
|
||||
@ -127,19 +109,10 @@ build_bios() {
|
||||
# seabios
|
||||
build_bios %{_sourcedir}/config.seabios-128k bios.bin bios.bin
|
||||
build_bios %{_sourcedir}/config.seabios-256k bios.bin bios-256k.bin
|
||||
%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.coreboot bios.bin.elf bios-coreboot.bin
|
||||
%endif
|
||||
|
||||
|
||||
# seavgabios
|
||||
%if 0%{?fedora:1}
|
||||
%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
|
||||
build_bios %{_sourcedir}/config.vga-${config} \
|
||||
vgabios.bin vgabios-${config}.bin out/vgabios.bin
|
||||
@ -151,10 +124,6 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/seabios
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/seavgabios
|
||||
install -m 0644 binaries/bios.bin $RPM_BUILD_ROOT%{_datadir}/seabios/bios.bin
|
||||
install -m 0644 binaries/bios-256k.bin $RPM_BUILD_ROOT%{_datadir}/seabios/bios-256k.bin
|
||||
%if 0%{?fedora:1}
|
||||
install -m 0644 binaries/bios-csm.bin $RPM_BUILD_ROOT%{_datadir}/seabios/bios-csm.bin
|
||||
install -m 0644 binaries/bios-coreboot.bin $RPM_BUILD_ROOT%{_datadir}/seabios/bios-coreboot.bin
|
||||
%endif
|
||||
install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios
|
||||
|
||||
|
||||
@ -171,6 +140,12 @@ install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios
|
||||
%{_datadir}/seavgabios/vgabios*.bin
|
||||
|
||||
%changelog
|
||||
* Wed Sep 15 2021 Miroslav Rezanina <mrezanin@redhat.com> - 1.14.0-7
|
||||
- seabios-Drop-fedora-bits-they-are-not-tested-and-currently-f.patch [bz#2004169]
|
||||
- seabios-Disable-TPM-support.patch [bz#2004169]
|
||||
- Resolves: bz#2004169
|
||||
(seabios implements and/or uses the deprecated SHA-1 algorithm by default)
|
||||
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.0-6
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
Loading…
Reference in New Issue
Block a user