Initial commit

This commit is contained in:
Sofia Boldyreva 2025-01-28 16:51:27 +01:00
commit a37e03ca6d
3 changed files with 1544 additions and 0 deletions

53
config.yaml Normal file
View File

@ -0,0 +1,53 @@
actions:
- replace:
- target: "spec"
find: |
# Only include repositories for the distribution and release
install -m 0755 -vd %{buildroot}%{_datadir}/osbuild-composer/repositories
replace: |
# Only include repositories for the distribution and release
install -m 0755 -vd %{buildroot}%{_datadir}/osbuild-composer/repositories
%if 0%{?almalinux}
%if 0%{?almalinux} >= 10
install -m 0644 -vp repositories/almalinux-* %{buildroot}%{_datadir}/osbuild-composer/repositories/
%else
install -m 0644 -vp repositories/almalinux-8* %{buildroot}%{_datadir}/osbuild-composer/repositories/
%if 0%{?almalinux} == 9
install -m 0644 -vp repositories/almalinux-9* %{buildroot}%{_datadir}/osbuild-composer/repositories/
%endif
%endif
%else
count: 1
- target: "spec"
find: "# Fedora can build for all included fedora releases"
replace: |
%endif
# Fedora can build for all included fedora releases
count: 1
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Install AlmaLinux repositories"
- "Add AlmaLinux support patch (Thanks @pastalian)"
- "Remove libreport-rhel-bugzilla from package set"
- add_files:
- type: "patch"
name: "0001-Remove-libreport-rhel-anaconda-bugzilla-from-anacond.patch"
number: 101
- type: "patch"
name: "0002-AlmaLinux-support-patch.patch"
number: 102

View File

@ -0,0 +1,25 @@
From a4d0c12c3cfd50b3020a3b4fc142645ac7010387 Mon Sep 17 00:00:00 2001
From: eabdullin <ed.abdullin.1@gmail.com>
Date: Tue, 1 Oct 2024 09:18:38 +0300
Subject: [PATCH 1/2] Remove libreport-rhel-anaconda-bugzilla from anaconda
packageset
---
.../osbuild/images/pkg/distro/rhel/rhel8/bare_metal.go | 1 -
1 file changed, 1 deletion(-)
diff --git a/vendor/github.com/osbuild/images/pkg/distro/rhel/rhel8/bare_metal.go b/vendor/github.com/osbuild/images/pkg/distro/rhel/rhel8/bare_metal.go
index 0d5fbe0..1fbbed3 100644
--- a/vendor/github.com/osbuild/images/pkg/distro/rhel/rhel8/bare_metal.go
+++ b/vendor/github.com/osbuild/images/pkg/distro/rhel/rhel8/bare_metal.go
@@ -228,7 +228,6 @@ func anacondaPackageSet(t *rhel.ImageType) rpmmd.PackageSet {
"libibverbs",
"libreport-plugin-bugzilla",
"libreport-plugin-reportuploader",
- "libreport-rhel-anaconda-bugzilla",
"librsvg2",
"linux-firmware",
"lklug-fonts",
--
2.39.5 (Apple Git-154)

File diff suppressed because one or more lines are too long