public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/seabios] rawhide: add firmware json files for seabios
@ 2026-08-12 14:47 Gerd Hoffmann
0 siblings, 0 replies; only message in thread
From: Gerd Hoffmann @ 2026-08-12 14:47 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/seabios
Branch : rawhide
Commit : 46e3addaea5cc6bb8795bbc05f1822c53f32e27e
Author : Gerd Hoffmann <kraxel@redhat.com>
Date : 2026-08-12T13:50:19+00:00
Stats : +66/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/seabios/c/46e3addaea5cc6bb8795bbc05f1822c53f32e27e?branch=rawhide
Log:
add firmware json files for seabios
---
diff --git a/80-seabios-default.json b/80-seabios-default.json
new file mode 100644
index 0000000..1f0cd5f
--- /dev/null
+++ b/80-seabios-default.json
@@ -0,0 +1,30 @@
+{
+ "description": "SeaBIOS",
+ "interface-types": [
+ "bios"
+ ],
+ "mapping": {
+ "device": "memory",
+ "filename": "/usr/share/seabios/bios-256k.bin"
+ },
+ "targets": [
+ {
+ "architecture": "i386",
+ "machines": [
+ "pc-i440fx-*",
+ "pc-q35-*"
+ ]
+ },
+ {
+ "architecture": "x86_64",
+ "machines": [
+ "pc-i440fx-*",
+ "pc-q35-*"
+ ]
+ }
+ ],
+ "features": [
+ ],
+ "tags": [
+ ]
+}
diff --git a/80-seabios-microvm.json b/80-seabios-microvm.json
new file mode 100644
index 0000000..f863b44
--- /dev/null
+++ b/80-seabios-microvm.json
@@ -0,0 +1,28 @@
+{
+ "description": "SeaBIOS for microvm",
+ "interface-types": [
+ "bios"
+ ],
+ "mapping": {
+ "device": "memory",
+ "filename": "/usr/share/seabios/bios-microvm.bin"
+ },
+ "targets": [
+ {
+ "architecture": "i386",
+ "machines": [
+ "microvm"
+ ]
+ },
+ {
+ "architecture": "x86_64",
+ "machines": [
+ "microvm"
+ ]
+ }
+ ],
+ "features": [
+ ],
+ "tags": [
+ ]
+}
diff --git a/seabios.spec b/seabios.spec
index d1d0612..851ae4c 100644
--- a/seabios.spec
+++ b/seabios.spec
@@ -30,6 +30,11 @@ Source21: config.vga-bochs-display
Source22: config.vga-ati
Source23: config.seabios-microvm
+Source30: 80-seabios-default.json
+%if 0%{?fedora:1}
+Source31: 80-seabios-microvm.json
+%endif
+
BuildRequires: make
BuildRequires: gcc
BuildRequires: python3
@@ -136,6 +141,7 @@ done
%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/seabios
mkdir -p $RPM_BUILD_ROOT%{_datadir}/seavgabios
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/qemu/firmware
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}
@@ -143,6 +149,7 @@ install -m 0644 binaries/bios-coreboot.bin $RPM_BUILD_ROOT%{_datadir}/seabios/bi
install -m 0644 binaries/bios-microvm.bin $RPM_BUILD_ROOT%{_datadir}/seabios/bios-microvm.bin
%endif
install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios
+install -m 0644 %{_sourcedir}/80-seabios*.json $RPM_BUILD_ROOT%{_datadir}/qemu/firmware
%files
@@ -153,6 +160,7 @@ install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios
%doc COPYING COPYING.LESSER README
%dir %{_datadir}/seabios/
%{_datadir}/seabios/bios*.bin
+%{_datadir}/qemu/firmware/*.json
%files -n seavgabios-bin
%doc COPYING COPYING.LESSER README
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 14:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 14:47 [rpms/seabios] rawhide: add firmware json files for seabios Gerd Hoffmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox