Initial commit

This commit is contained in:
Sofia Boldyreva 2025-01-31 14:42:35 +01:00
commit d3d1fc20aa
2 changed files with 61 additions and 0 deletions

55
config.yaml Normal file
View File

@ -0,0 +1,55 @@
actions:
- replace:
- target: "spec"
find: |
ExclusiveArch: x86_64
Requires: %{name}-bin = %{version}-%{release}
replace: |
ExclusiveArch: x86_64
%if 0%{?almalinux} > 9
ExclusiveArch: x86_64 %{power64}
%endif
Requires: %{name}-bin = %{version}-%{release}
count: 1
- target: "spec"
find: |
%build
%define _lto_cflags %{nil}
replace: |
%build
# This ifarch is needed to start the build on ppc64le and finish it with 0 exit code
# to synchronize noarch packages between x86_64 and ppc64le
%ifarch x86_64
%define _lto_cflags %{nil}
count: 1
- target: "spec"
find: "%global vgaconfigs cirrus stdvga virtio ramfb bochs-display"
replace: "%global vgaconfigs cirrus qxl stdvga virtio ramfb bochs-display"
count: 1
- target: "spec"
find: "%{_datadir}/seavgabios/vgabios*.bin"
replace: |
%{_datadir}/seavgabios/vgabios*.bin
# endif for %ifarch x86_64
%endif
count: 1
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Ship vgabios-qxl.bin"
- "Allow the build to start on ppc64le"
- add_files:
- type: "source"
name: "config.vga-qxl"
number: 12

6
files/config.vga-qxl Normal file
View File

@ -0,0 +1,6 @@
CONFIG_BUILD_VGABIOS=y
CONFIG_VGA_BOCHS=y
CONFIG_VGA_PCI=y
CONFIG_OVERRIDE_PCI_ID=y
CONFIG_VGA_VID=0x1b36
CONFIG_VGA_DID=0x0100