This commit is contained in:
Andrew Lukoshko 2023-03-29 14:08:27 +02:00
parent 7226efe25f
commit 15a2c82260
13 changed files with 157 additions and 125 deletions

View File

@ -224,3 +224,7 @@ enable switcheroo-control.service
# https://bugzilla.redhat.com/show_bug.cgi?id=2106811
enable clevis-luks-askpass.path
# https://bugzilla.redhat.com/show_bug.cgi?id=2167344
enable ostree-readonly-sysroot-migration.service

View File

@ -1,7 +1,7 @@
[appstream]
name=AlmaLinux 9.1-beta - AppStream
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/appstream
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/AppStream/$basearch/os/
name=AlmaLinux 9.2-beta - AppStream
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/appstream
# baseurl=https://repo.almalinux.org/vault/9.2-beta/AppStream/$basearch/os/
enabled=1
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=1
[appstream-debug]
name=AlmaLinux 9.1-beta - AppStream - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/appstream-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/AppStream/debug/$basearch/
name=AlmaLinux 9.2-beta - AppStream - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/appstream-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/AppStream/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[appstream-source]
name=AlmaLinux 9.1-beta - AppStream - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/appstream-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/AppStream/Source/
name=AlmaLinux 9.2-beta - AppStream - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/appstream-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/AppStream/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[baseos]
name=AlmaLinux 9.1-beta - BaseOS
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/baseos
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/BaseOS/$basearch/os/
name=AlmaLinux 9.2-beta - BaseOS
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/baseos
# baseurl=https://repo.almalinux.org/vault/9.2-beta/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=1
[baseos-debug]
name=AlmaLinux 9.1-beta - BaseOS - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/baseos-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/BaseOS/debug/$basearch/
name=AlmaLinux 9.2-beta - BaseOS - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/baseos-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/BaseOS/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[baseos-source]
name=AlmaLinux 9.1-beta - BaseOS - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/baseos-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/BaseOS/Source/
name=AlmaLinux 9.2-beta - BaseOS - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/baseos-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/BaseOS/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[crb]
name=AlmaLinux 9.1-beta - CRB
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/crb
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/CRB/$basearch/os/
name=AlmaLinux 9.2-beta - CRB
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/crb
# baseurl=https://repo.almalinux.org/vault/9.2-beta/CRB/$basearch/os/
enabled=0
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[crb-debug]
name=AlmaLinux 9.1-beta - CRB - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/crb-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/CRB/debug/$basearch/
name=AlmaLinux 9.2-beta - CRB - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/crb-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/CRB/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[crb-source]
name=AlmaLinux 9.1-beta - CRB - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/crb-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/CRB/Source/
name=AlmaLinux 9.2-beta - CRB - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/crb-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/CRB/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[extras]
name=AlmaLinux 9.1-beta - Extras
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/extras
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/extras/$basearch/os/
name=AlmaLinux 9.2-beta - Extras
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/extras
# baseurl=https://repo.almalinux.org/vault/9.2-beta/extras/$basearch/os/
enabled=1
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[extras-debug]
name=AlmaLinux 9.1-beta - Extras - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/extras-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/extras/debug/$basearch/
name=AlmaLinux 9.2-beta - Extras - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/extras-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/extras/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[extras-source]
name=AlmaLinux 9.1-beta - Extras - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/extras-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/extras/Source/
name=AlmaLinux 9.2-beta - Extras - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/extras-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/extras/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[highavailability]
name=AlmaLinux 9.1-beta - HighAvailability
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/highavailability
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/HighAvailability/$basearch/os/
name=AlmaLinux 9.2-beta - HighAvailability
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/highavailability
# baseurl=https://repo.almalinux.org/vault/9.2-beta/HighAvailability/$basearch/os/
enabled=0
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[highavailability-debug]
name=AlmaLinux 9.1-beta - HighAvailability - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/highavailability-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/HighAvailability/debug/$basearch/
name=AlmaLinux 9.2-beta - HighAvailability - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/highavailability-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/HighAvailability/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[highavailability-source]
name=AlmaLinux 9.1-beta - HighAvailability - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/highavailability-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/HighAvailability/Source/
name=AlmaLinux 9.2-beta - HighAvailability - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/highavailability-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/HighAvailability/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[nfv]
name=AlmaLinux 9.1-beta - NFV
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/nfv
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/NFV/$basearch/os/
name=AlmaLinux 9.2-beta - NFV
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/nfv
# baseurl=https://repo.almalinux.org/vault/9.2-beta/NFV/$basearch/os/
enabled=0
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[nfv-debug]
name=AlmaLinux 9.1-beta - NFV - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/nfv-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/NFV/debug/$basearch/
name=AlmaLinux 9.2-beta - NFV - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/nfv-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/NFV/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[nfv-source]
name=AlmaLinux 9.1-beta - NFV - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/nfv-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/NFV/Source/
name=AlmaLinux 9.2-beta - NFV - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/nfv-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/NFV/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[plus]
name=AlmaLinux 9.1-beta - Plus
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/plus
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/plus/$basearch/os/
name=AlmaLinux 9.2-beta - Plus
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/plus
# baseurl=https://repo.almalinux.org/vault/9.2-beta/plus/$basearch/os/
enabled=0
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[plus-debug]
name=AlmaLinux 9.1-beta - Plus - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/plus-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/plus/debug/$basearch/
name=AlmaLinux 9.2-beta - Plus - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/plus-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/plus/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[plus-source]
name=AlmaLinux 9.1-beta - Plus - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/plus-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/plus/Source/
name=AlmaLinux 9.2-beta - Plus - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/plus-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/plus/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,13 +1,12 @@
%global distro AlmaLinux
%global release_name Lime Lynx
%global release_name Turquoise Kodkod
%global major 9
%global minor 1
%global minor 2
%global beta Beta
Name: almalinux-release
Version: %{major}.%{minor}
Release: 1.8%{?dist}
Release: 0.11%{?dist}
Summary: %{distro} release files
License: GPLv2
URL: https://almalinux.org
@ -56,8 +55,7 @@ Source504: almalinux-highavailability.repo
Source505: almalinux-resilientstorage.repo
Source506: almalinux-sap.repo
Source507: almalinux-saphana.repo
# No plus repo in betas
# Source508: almalinux-plus.repo
Source508: almalinux-plus.repo
# Only for x86_64
Source510: almalinux-nfv.repo
Source511: almalinux-rt.repo
@ -103,6 +101,29 @@ echo "%{distro} release %{major}.%{minor}%{?beta: %{beta}} (%{release_name})" >
ln -s almalinux-release %{buildroot}%{_sysconfdir}/system-release
ln -s almalinux-release %{buildroot}%{_sysconfdir}/redhat-release
# -------------------------------------------------------------------------
# Definitions for /etc/os-release and for macros in macros.dist. These
# macros are useful for spec files where distribution-specific identifiers
# are used to customize packages.
# Name of vendor / name of distribution. Typically used to identify where
# the binary comes from in --help or --version messages of programs.
# Examples: gdb.spec, clang.spec
%global dist_vendor AlmaLinux OS Foundation
%global dist_name %{distro}
# URL of the homepage of the distribution
# Example: gstreamer1-plugins-base.spec
%global dist_home_url https://almalinux.org/
# Bugzilla / bug reporting URLs shown to users.
# Examples: gcc.spec
%global dist_bug_report_url https://bugs.almalinux.org/
# debuginfod server, as used in elfutils.spec.
# %global dist_debuginfod_url %{nil}
# -------------------------------------------------------------------------
# Create the os-release file
install -d -m 0755 %{buildroot}%{_prefix}/lib
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
@ -116,9 +137,9 @@ PRETTY_NAME="%{distro} %{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:%{major}::baseos"
HOME_URL="https://almalinux.org/"
HOME_URL="%{dist_home_url}"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"
BUG_REPORT_URL="%{dist_bug_report_url}"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-%{major}"
ALMALINUX_MANTISBT_PROJECT_VERSION="%{major}.%{minor}"
@ -152,6 +173,10 @@ cat > %{buildroot}%{_rpmmacrodir}/macros.dist << EOF
%%rhel %{major}
%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}.el%{major}%%{?with_bootstrap:%{__bootstrap}}
%%el%{major} 1
%%dist_vendor %{dist_vendor}
%%dist_name %{dist_name}
%%dist_home_url %{dist_home_url}
%%dist_bug_report_url %{dist_bug_report_url}
EOF
# use unbranded datadir
@ -204,25 +229,25 @@ install -m 644 %{SOURCE400} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-s
install -m 644 %{SOURCE401} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-s390x.cer
# Link x86_64 certs
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-ca-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-x86_64.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-kernel-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-x86_64.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-grub2-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-x86_64.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-fwupd-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-x86_64.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-x86_64.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-x86_64.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-x86_64.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-x86_64.cer
# Link aarch64 certs
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-ca-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-aarch64.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-kernel-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-aarch64.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-grub2-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-aarch64.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-fwupd-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-aarch64.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-aarch64.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-aarch64.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-aarch64.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-aarch64.cer
# Link ppc64le certs
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-ca-ppc64le.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-ppc64le.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-kernel-ppc64le.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-ppc64le.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-grub2-ppc64le.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-ppc64le.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-ppc64le.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-ppc64le.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-ppc64le.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-ppc64le.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-ppc64le.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-ppc64le.cer
# Link s390x certs
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-ca-s390x.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-s390x.cer
ln -sr %{buildroot}%{_datadir}%{_datadir}/pki/sb-certs/secureboot-kernel-s390x.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-s390x.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-s390x.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-s390x.cer
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-s390x.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-s390x.cer
# copy yum repos
install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d
@ -234,14 +259,14 @@ install -p -m 0644 %{SOURCE504} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE505} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE506} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE507} %{buildroot}%{_sysconfdir}/yum.repos.d/
# install -p -m 0644 %{SOURCE508} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE508} %{buildroot}%{_sysconfdir}/yum.repos.d/
# RT and NFV are only for x86_64
%ifarch x86_64
install -p -m 0644 %{SOURCE510} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE511} %{buildroot}%{_sysconfdir}/yum.repos.d/
%endif
# dnf variables for CentOS SIG repos compatibility
# dnf variables
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
@ -287,7 +312,7 @@ install -p -m 0644 %{SOURCE600} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-resilientstorage.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-sap.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-saphana.repo
#config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-plus.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-plus.repo
%ifarch x86_64
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-nfv.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-rt.repo
@ -299,8 +324,11 @@ install -p -m 0644 %{SOURCE600} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
%changelog
* Fri Oct 07 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 9.1-1.8
- 9.1 beta
* Wed Mar 29 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 9.2-0.11
- 9.2 beta
* Tue Nov 15 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 9.1-1.9
- 9.1 stable
* Wed Jun 22 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 9.0-4
- Fix AlmaLinux version in EULA

View File

@ -1,7 +1,7 @@
[resilientstorage]
name=AlmaLinux 9.1-beta - ResilientStorage
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/resilientstorage
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/ResilientStorage/$basearch/os/
name=AlmaLinux 9.2-beta - ResilientStorage
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/resilientstorage
# baseurl=https://repo.almalinux.org/vault/9.2-beta/ResilientStorage/$basearch/os/
enabled=0
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[resilientstorage-debug]
name=AlmaLinux 9.1-beta - ResilientStorage - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/resilientstorage-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/ResilientStorage/debug/$basearch/
name=AlmaLinux 9.2-beta - ResilientStorage - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/resilientstorage-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/ResilientStorage/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[resilientstorage-source]
name=AlmaLinux 9.1-beta - ResilientStorage - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/resilientstorage-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/ResilientStorage/Source/
name=AlmaLinux 9.2-beta - ResilientStorage - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/resilientstorage-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/ResilientStorage/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[rt]
name=AlmaLinux 9.1-beta - RT
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/rt
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/RT/$basearch/os/
name=AlmaLinux 9.2-beta - RT
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/rt
# baseurl=https://repo.almalinux.org/vault/9.2-beta/RT/$basearch/os/
enabled=0
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[rt-debug]
name=AlmaLinux 9.1-beta - RT - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/rt-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/RT/debug/$basearch/
name=AlmaLinux 9.2-beta - RT - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/rt-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/RT/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[rt-source]
name=AlmaLinux 9.1-beta - RT - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/rt-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/RT/Source/
name=AlmaLinux 9.2-beta - RT - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/rt-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/RT/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[sap]
name=AlmaLinux 9.1-beta - SAP
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/sap
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/SAP/$basearch/os/
name=AlmaLinux 9.2-beta - SAP
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/sap
# baseurl=https://repo.almalinux.org/vault/9.2-beta/SAP/$basearch/os/
enabled=0
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[sap-debug]
name=AlmaLinux 9.1-beta - SAP - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/sap-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/SAP/debug/$basearch/
name=AlmaLinux 9.2-beta - SAP - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/sap-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/SAP/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[sap-source]
name=AlmaLinux 9.1-beta - SAP - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/sap-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/SAP/Source/
name=AlmaLinux 9.2-beta - SAP - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/sap-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/SAP/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

@ -1,7 +1,7 @@
[saphana]
name=AlmaLinux 9.1-beta - SAPHANA
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/saphana
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/SAPHANA/$basearch/os/
name=AlmaLinux 9.2-beta - SAPHANA
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/saphana
# baseurl=https://repo.almalinux.org/vault/9.2-beta/SAPHANA/$basearch/os/
enabled=0
gpgcheck=1
countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=0
[saphana-debug]
name=AlmaLinux 9.1-beta - SAPHANA - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/saphana-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/SAPHANA/debug/$basearch/
name=AlmaLinux 9.2-beta - SAPHANA - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/saphana-debug
# baseurl=https://repo.almalinux.org/vault/9.2-beta/SAPHANA/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0
[saphana-source]
name=AlmaLinux 9.1-beta - SAPHANA - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/saphana-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/SAPHANA/Source/
name=AlmaLinux 9.2-beta - SAPHANA - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/saphana-source
# baseurl=https://repo.almalinux.org/vault/9.2-beta/SAPHANA/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9