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 # https://bugzilla.redhat.com/show_bug.cgi?id=2106811
enable clevis-luks-askpass.path 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] [appstream]
name=AlmaLinux 9.1-beta - AppStream name=AlmaLinux 9.2-beta - AppStream
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/appstream mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/appstream
# baseurl=https://repo.almalinux.org/almalinux/9.1-beta/AppStream/$basearch/os/ # baseurl=https://repo.almalinux.org/vault/9.2-beta/AppStream/$basearch/os/
enabled=1 enabled=1
gpgcheck=1 gpgcheck=1
countme=1 countme=1
@ -10,9 +10,9 @@ metadata_expire=86400
enabled_metadata=1 enabled_metadata=1
[appstream-debug] [appstream-debug]
name=AlmaLinux 9.1-beta - AppStream - Debug name=AlmaLinux 9.2-beta - AppStream - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/appstream-debug mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/appstream-debug
# baseurl=https://repo.almalinux.org/vault/9.1-beta/AppStream/debug/$basearch/ # baseurl=https://repo.almalinux.org/vault/9.2-beta/AppStream/debug/$basearch/
enabled=0 enabled=0
gpgcheck=1 gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
@ -20,9 +20,9 @@ metadata_expire=86400
enabled_metadata=0 enabled_metadata=0
[appstream-source] [appstream-source]
name=AlmaLinux 9.1-beta - AppStream - Source name=AlmaLinux 9.2-beta - AppStream - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.1-beta/appstream-source mirrorlist=https://mirrors.almalinux.org/mirrorlist/9.2-beta/appstream-source
# baseurl=https://repo.almalinux.org/vault/9.1-beta/AppStream/Source/ # baseurl=https://repo.almalinux.org/vault/9.2-beta/AppStream/Source/
enabled=0 enabled=0
gpgcheck=1 gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,13 +1,12 @@
%global distro AlmaLinux %global distro AlmaLinux
%global release_name Lime Lynx %global release_name Turquoise Kodkod
%global major 9 %global major 9
%global minor 1 %global minor 2
%global beta Beta %global beta Beta
Name: almalinux-release Name: almalinux-release
Version: %{major}.%{minor} Version: %{major}.%{minor}
Release: 1.8%{?dist} Release: 0.11%{?dist}
Summary: %{distro} release files Summary: %{distro} release files
License: GPLv2 License: GPLv2
URL: https://almalinux.org URL: https://almalinux.org
@ -56,8 +55,7 @@ Source504: almalinux-highavailability.repo
Source505: almalinux-resilientstorage.repo Source505: almalinux-resilientstorage.repo
Source506: almalinux-sap.repo Source506: almalinux-sap.repo
Source507: almalinux-saphana.repo Source507: almalinux-saphana.repo
# No plus repo in betas Source508: almalinux-plus.repo
# Source508: almalinux-plus.repo
# Only for x86_64 # Only for x86_64
Source510: almalinux-nfv.repo Source510: almalinux-nfv.repo
Source511: almalinux-rt.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}/system-release
ln -s almalinux-release %{buildroot}%{_sysconfdir}/redhat-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 # Create the os-release file
install -d -m 0755 %{buildroot}%{_prefix}/lib install -d -m 0755 %{buildroot}%{_prefix}/lib
cat > %{buildroot}%{_prefix}/lib/os-release << EOF cat > %{buildroot}%{_prefix}/lib/os-release << EOF
@ -116,9 +137,9 @@ PRETTY_NAME="%{distro} %{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
ANSI_COLOR="0;34" ANSI_COLOR="0;34"
LOGO="fedora-logo-icon" LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:%{major}::baseos" CPE_NAME="cpe:/o:almalinux:almalinux:%{major}::baseos"
HOME_URL="https://almalinux.org/" HOME_URL="%{dist_home_url}"
DOCUMENTATION_URL="https://wiki.almalinux.org/" 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="AlmaLinux-%{major}"
ALMALINUX_MANTISBT_PROJECT_VERSION="%{major}.%{minor}" ALMALINUX_MANTISBT_PROJECT_VERSION="%{major}.%{minor}"
@ -152,6 +173,10 @@ cat > %{buildroot}%{_rpmmacrodir}/macros.dist << EOF
%%rhel %{major} %%rhel %{major}
%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}.el%{major}%%{?with_bootstrap:%{__bootstrap}} %%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}.el%{major}%%{?with_bootstrap:%{__bootstrap}}
%%el%{major} 1 %%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 EOF
# use unbranded datadir # 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 install -m 644 %{SOURCE401} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-s390x.cer
# Link x86_64 certs # 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}/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}/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}/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-fwupd-x86_64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-x86_64.cer
# Link aarch64 certs # 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}/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}/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}/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-fwupd-aarch64.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-aarch64.cer
# Link ppc64le certs # 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}/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}/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-grub2-ppc64le.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-ppc64le.cer
# Link s390x certs # 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}/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-kernel-s390x.cer %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-s390x.cer
# copy yum repos # copy yum repos
install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d 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 %{SOURCE505} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE506} %{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 %{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 # RT and NFV are only for x86_64
%ifarch x86_64 %ifarch x86_64
install -p -m 0644 %{SOURCE510} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE510} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE511} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE511} %{buildroot}%{_sysconfdir}/yum.repos.d/
%endif %endif
# dnf variables for CentOS SIG repos compatibility # dnf variables
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream 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-resilientstorage.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-sap.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-saphana.repo
#config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-plus.repo %config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-plus.repo
%ifarch x86_64 %ifarch x86_64
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-nfv.repo %config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-nfv.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-rt.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 %changelog
* Fri Oct 07 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 9.1-1.8 * Wed Mar 29 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 9.2-0.11
- 9.1 beta - 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 * Wed Jun 22 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 9.0-4
- Fix AlmaLinux version in EULA - Fix AlmaLinux version in EULA

View File

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

View File

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

View File

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

View File

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