Compare commits

...

No commits in common. "c9s" and "c8s-stream-rhel" have entirely different histories.

7 changed files with 32 additions and 64 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
/sgabios-20170427-gitcbaee52.tar.xz
/sgabios-20180715-git72f39d4.tar.xz
SOURCES/sgabios-20170427-gitcbaee52.tar.xz

View File

@ -1 +1 @@
63c12b9e4f25247173bb5413e2c3cc90ba28defd sgabios-20180715-git72f39d4.tar.xz
5e233c2aee6b1d3b2b6a48f2052796cda80e785e SOURCES/sgabios-20170427-gitcbaee52.tar.xz

View File

@ -1,18 +0,0 @@
===================
sgabios development
===================
sgabios is maintained in a `source tree`_ rather than directly in dist-git
using packit service that provides way to develope using regular source code
structure and provides way to generate SRPM and build using koji service.
Developers deliver all changes to source-git using merge request. Only maintainers
will be pushing changes sent to source-git to dist-git.
Each release in dist-git is tagged in the source repository so you can easily
check out the source tree for a build. The tags are in the format
name-version-release, but note release doesn't contain the dist tag since the
source can be built in different build roots (Fedora, CentOS, etc.)
.. _source tree: https://gitlab.com/redhat/centos-stream/src/sgabios

View File

@ -0,0 +1,19 @@
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@
LDSCRIPT := rom16.ld
LDFLAGS := -T $(LDSCRIPT) -nostdlib
OBJCOPY := objcopy
+HOSTCC := $(CC)
ASRCS = sgabios.S
@@ -55,7 +56,7 @@
$(LD) $(LDFLAGS) $(OBJS) -o $@
csum8: csum8.c
- $(CC) -Wall -O2 -o $@ $<
+ $(HOSTCC) -Wall -O2 -o $@ $<
sgabios.o: buildinfo

View File

@ -2,16 +2,17 @@
%define cross 1
%endif
%global hash 72f39d4
%global date 20180715
%global hash cbaee52
%global date 20170427
Name: sgabios
Epoch: 1
Version: 0.%{date}git
Release: 8%{?dist}
Release: 3%{?dist}
Summary: Serial graphics BIOS option rom
Group: Applications/Emulators
License: ASL 2.0
URL: https://github.com/qemu/sgabios
# There are no upstream releases. This archive is prepared as follows:
@ -22,6 +23,7 @@ URL: https://github.com/qemu/sgabios
# date=`git log -1 --format='%cd' --date=short | tr -d -`
# git archive --prefix sgabios-${date}-git${hash}/ ${hash} | xz -7e > ../openbios-${date}-git${hash}.tar.xz
Source0: sgabios-%{date}-git%{hash}.tar.xz
Patch0: sgabios-hostcc.patch
%if 0%{?cross}
BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu
@ -29,8 +31,6 @@ Buildarch: noarch
%else
ExclusiveArch: %{ix86} x86_64
%endif
BuildRequires: make
BuildRequires: gcc
Requires: %{name}-bin = %{epoch}:%{version}-%{release}
@ -89,36 +89,13 @@ install -m 0644 sgabios.bin $RPM_BUILD_ROOT%{_datadir}/sgabios
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.20180715git-8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Jun 28 2019 Danilo de Paula <ddepaula@redhat.com> - 1:0.20170427git-3
- Rebuild all virt packages to fix RHEL's upgrade path
- Resolves: rhbz#1695587
(Ensure modular RPM upgrade path)
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.20180715git-7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20180715git-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20180715git-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20180715git-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20180715git-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20180715git-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Jul 31 2018 Cole Robinson <crobinso@redhat.com> - 1:0.20180715.git-1
- Update to qemu sgabios 72f39d4
* Mon Jul 23 2018 Paolo Bonzini <pbonzini@redhat.com> - 1:0.20170427git-3
- Add explicit BuildRequires for GCC (Resolves: #1606338)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20170427git-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Danilo de Paula <ddepaula@redhat.com> - 1:0.20170427git-2
- Trigger a new sgabios build
* Sun Mar 25 2018 Cole Robinson <crobinso@redhat.com> - 1:0.20170427git-1
- Switch to qemu sgabios repo, which has an extra bugfix

View File

@ -1,8 +0,0 @@
# recipients: kvmqe-ci, yfu, xuwei
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
subject_type: brew-build
rules:
- !PassingTestCaseRule {test_case_name: kvm-ci.sgabios.x86_64.brew-build.gating.tier1.functional}

View File

@ -1 +0,0 @@
SHA512 (sgabios-20180715-git72f39d4.tar.xz) = 868a88a723236e956cae22fe6f0c84157c49626f0a3cf9a7c2c07b6b4d69b53b91fb66c0b13ce1fadef7e58d3bbbe2c6bd949310ba81e5a5b099d5d0507e5b18