Compare commits
No commits in common. "a8" and "a10" have entirely different histories.
65
config.yaml
65
config.yaml
@ -1,54 +1,47 @@
|
|||||||
actions:
|
actions:
|
||||||
- replace:
|
- replace:
|
||||||
- target: "spec"
|
- target: "spec"
|
||||||
find: |
|
find: "# CentOS also defines rhel so we check for centos first"
|
||||||
# CentOS also defines rhel so we check for centos first
|
|
||||||
%if 0%{?centos}
|
|
||||||
|
|
||||||
# CentOS 9 supports building for CentOS 8 and later
|
|
||||||
%if 0%{?centos} >= 9
|
|
||||||
install -m 0644 -vp repositories/centos-* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
|
||||||
replace: |
|
replace: |
|
||||||
|
# CentOS also defines rhel so we check for centos first
|
||||||
|
|
||||||
%if 0%{?almalinux}
|
%if 0%{?almalinux}
|
||||||
%if 0%{?almalinux} >= 9
|
# AL10 support all AL versions
|
||||||
install -m 0644 -vp repositories/almalinux-* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
%if 0%{?almalinux} >= 10
|
||||||
|
install -m 0644 -vp vendor/github.com/osbuild/images/data/repositories/almalinux* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
||||||
|
%else
|
||||||
|
# AL8 supports in AL9 and AL8
|
||||||
|
install -m 0644 -vp vendor/github.com/osbuild/images/data/repositories/almalinux-8* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
||||||
|
%if 0%{?rhel} == 9
|
||||||
|
install -m 0644 -vp vendor/github.com/osbuild/images/data/repositories/almalinux-9* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%else
|
||||||
|
# Check for CentOS
|
||||||
count: 1
|
count: 1
|
||||||
- target: "spec"
|
- target: "spec"
|
||||||
find: |
|
find: "# Fedora can build for all included fedora releases"
|
||||||
# CentOS 8 only supports building for CentOS 8
|
replace: |
|
||||||
install -m 0644 -vp repositories/centos-%{centos}* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
|
||||||
install -m 0644 -vp repositories/centos-stream-%{centos}* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
%else
|
|
||||||
%if 0%{?rhel}
|
|
||||||
# RHEL 9 supports building for RHEL 8 and later
|
|
||||||
%if 0%{?rhel} >= 9
|
|
||||||
install -m 0644 -vp repositories/rhel-* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
|
||||||
|
|
||||||
%else
|
# Fedora can build for all included fedora releases
|
||||||
# RHEL 8 only supports building for 8
|
|
||||||
install -m 0644 -vp repositories/rhel-%{rhel}* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
|
||||||
|
|
||||||
%endif
|
|
||||||
replace: "install -m 0644 -vp repositories/almalinux-8* %{buildroot}%{_datadir}/osbuild-composer/repositories/"
|
|
||||||
count: 1
|
count: 1
|
||||||
|
|
||||||
|
- add_files:
|
||||||
|
- type: "patch"
|
||||||
|
name: "0001-Backport-https-github.com-osbuild-images-pull-1926.patch"
|
||||||
|
number: "Latest"
|
||||||
|
- type: "patch"
|
||||||
|
name: "0001-Bring-AlmaLinux-9-and-AlmaLinux-8-to-distros-back.patch"
|
||||||
|
number: "Latest"
|
||||||
|
|
||||||
- modify_release:
|
- modify_release:
|
||||||
- suffix: ".alma.1"
|
- suffix: ".alma.3"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
- changelog_entry:
|
- changelog_entry:
|
||||||
- name: "Eduard Abdullin"
|
- name: "Eduard Abdullin"
|
||||||
email: "eabdullin@almalinux.org"
|
email: "eabdullin@almalinux.org"
|
||||||
line:
|
line:
|
||||||
- "Install AlmaLinux repositories"
|
- "Add AlmaLinux repositories"
|
||||||
- "Add AlmaLinux support"
|
|
||||||
|
|
||||||
- add_files:
|
|
||||||
- type: "patch"
|
|
||||||
name: "0001-AlmaLinux-support-patch.patch"
|
|
||||||
number: 100
|
|
||||||
- type: "patch"
|
|
||||||
name: "0001-Remove-libreport-rhel-anaconda-bugzilla-from-anacond.patch"
|
|
||||||
number: 101
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,46 @@
|
|||||||
|
From db14fa981a84d23b9851d1112d941409124ed868 Mon Sep 17 00:00:00 2001
|
||||||
|
From: eabdullin <eabdullin@almalinux.org>
|
||||||
|
Date: Fri, 14 Nov 2025 10:25:12 +0300
|
||||||
|
Subject: [PATCH] Bring AlmaLinux-9 and AlmaLinux-8 to distros back
|
||||||
|
|
||||||
|
---
|
||||||
|
.../osbuild/images/data/distrodefs/distros.yaml | 16 ++++++++++++++++
|
||||||
|
1 file changed, 16 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/vendor/github.com/osbuild/images/data/distrodefs/distros.yaml b/vendor/github.com/osbuild/images/data/distrodefs/distros.yaml
|
||||||
|
index f1d3dab..ff91232 100644
|
||||||
|
--- a/vendor/github.com/osbuild/images/data/distrodefs/distros.yaml
|
||||||
|
+++ b/vendor/github.com/osbuild/images/data/distrodefs/distros.yaml
|
||||||
|
@@ -236,6 +236,14 @@ distros:
|
||||||
|
ppc64le: "registry.access.redhat.com/ubi{{.MajorVersion}}/ubi:latest"
|
||||||
|
s390x: "registry.access.redhat.com/ubi{{.MajorVersion}}/ubi:latest"
|
||||||
|
|
||||||
|
+ - <<: *rhel9
|
||||||
|
+ name: "almalinux-{{.MajorVersion}}.{{.MinorVersion}}"
|
||||||
|
+ match: 'almalinux-9\.[0-9]{1,2}'
|
||||||
|
+ product: "AlmaLinux"
|
||||||
|
+ vendor: "almalinux"
|
||||||
|
+ ostree_ref_tmpl: "almalinux/9/%%s/edge"
|
||||||
|
+ iso_label_tmpl: "AlmaLinux-{{.Distro.MajorVersion}}-{{.Distro.MinorVersion}}-{{.Arch}}-dvd"
|
||||||
|
+
|
||||||
|
- ¢os9
|
||||||
|
<<: *rhel9
|
||||||
|
name: centos-9
|
||||||
|
@@ -325,6 +333,14 @@ distros:
|
||||||
|
ppc64le: "registry.access.redhat.com/ubi{{.MajorVersion}}/ubi:latest"
|
||||||
|
s390x: "registry.access.redhat.com/ubi{{.MajorVersion}}/ubi:latest"
|
||||||
|
|
||||||
|
+ - <<: *rhel8
|
||||||
|
+ name: "almalinux-{{.MajorVersion}}.{{.MinorVersion}}"
|
||||||
|
+ match: 'almalinux-8\.[0-9]{1,2}'
|
||||||
|
+ product: "AlmaLinux"
|
||||||
|
+ vendor: "almalinux"
|
||||||
|
+ ostree_ref_tmpl: "almalinux/8/%%s/edge"
|
||||||
|
+ iso_label_tmpl: "AlmaLinux-{{.Distro.MajorVersion}}-{{.Distro.MinorVersion}}-{{.Arch}}-dvd"
|
||||||
|
+
|
||||||
|
- ¢os8
|
||||||
|
<<: *rhel8
|
||||||
|
name: centos-8
|
||||||
|
--
|
||||||
|
2.51.0
|
||||||
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
From a4435c48480b969785d9afbec7ad3657db24f43b Mon Sep 17 00:00:00 2001
|
|
||||||
From: eabdullin <ed.abdullin.1@gmail.com>
|
|
||||||
Date: Thu, 28 Mar 2024 13:12:22 +0300
|
|
||||||
Subject: [PATCH] Remove libreport-rhel-anaconda-bugzilla from anaconda
|
|
||||||
packageset
|
|
||||||
|
|
||||||
---
|
|
||||||
vendor/github.com/osbuild/images/pkg/distro/rhel8/bare_metal.go | 1 -
|
|
||||||
1 file changed, 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/vendor/github.com/osbuild/images/pkg/distro/rhel8/bare_metal.go b/vendor/github.com/osbuild/images/pkg/distro/rhel8/bare_metal.go
|
|
||||||
index 05c54e5..68b0100 100644
|
|
||||||
--- a/vendor/github.com/osbuild/images/pkg/distro/rhel8/bare_metal.go
|
|
||||||
+++ b/vendor/github.com/osbuild/images/pkg/distro/rhel8/bare_metal.go
|
|
||||||
@@ -214,7 +214,6 @@ func anacondaPackageSet(t *imageType) rpmmd.PackageSet {
|
|
||||||
"libibverbs",
|
|
||||||
"libreport-plugin-bugzilla",
|
|
||||||
"libreport-plugin-reportuploader",
|
|
||||||
- "libreport-rhel-anaconda-bugzilla",
|
|
||||||
"librsvg2",
|
|
||||||
"linux-firmware",
|
|
||||||
"lklug-fonts",
|
|
||||||
--
|
|
||||||
2.39.3 (Apple Git-146)
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user