Compare commits

...

12 Commits

Author SHA1 Message Date
eabdullin
ecf38f4f06 Fix greenboot-rs preset services 2026-04-16 12:28:13 +03:00
eabdullin
c033a2dc96 Sync with CS-release 10-20 2026-04-02 11:04:15 +03:00
eabdullin
c31812bcfa Add support for i686 architecture 2026-03-25 15:54:56 +03:00
eabdullin
81e1469528 - Enable plasmalogin service for KDE Plasma Login Manager
- Add RELEASE_TYPE field to os-release
2026-01-21 14:20:43 +03:00
eabdullin
b3f423b391 Update SB key 2025-10-17 16:48:19 +03:00
eabdullin
aeceb214bd - Add dist_purl_namespace to macros.dist
- Re-disable rpcbind.service and rpcbind.socket
- Enable greenboot services
2025-10-14 11:37:28 +03:00
eabdullin
c591ae0aae Merge branch 'a10s-without-crb' into a10s 2025-08-26 18:02:27 +03:00
eabdullin
89e82286b0 Redefine __cflags_arch_x86_64_level and __cflags_arch_x86_64 macroses for x86_64_v2 2025-08-26 17:59:44 +03:00
eabdullin
964906dbd3 - Enable mpa_registration.service and qgs.service 2025-08-26 17:24:44 +03:00
b876b82345 Merge pull request 'Enable CRB repository by default' (#1) from ngompa/almalinux-kitten-release-rpm:a10s-enable-crb into a10s
Reviewed-on: #1
2025-05-29 23:58:12 +00:00
e03b51ae82 Enable CRB repository by default 2025-05-29 19:56:11 -04:00
f73b5e0599 Fix changelog date to eliminate bogus date error
This gets rid of the following error:

warning: bogus date in %changelog: Thu Feb 06 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 10.0-3.0.2
error: %changelog not in descending chronological order
2025-05-29 19:54:06 -04:00
7 changed files with 85 additions and 33 deletions

View File

@ -9,3 +9,7 @@ enable lxdm.service
enable sddm.service
enable kdm.service
enable xdm.service
# https://issues.redhat.com/browse/RHEL-135678
enable plasmalogin.service
# https://issues.redhat.com/browse/RHEL-147639
enable cosmic-greeter.service

View File

@ -24,7 +24,6 @@ enable sshd.service
# Locally-running services
enable atd.*
enable crond.*
enable rpcbind.*
# Approved by FESCo - https://fedorahosted.org/fesco/ticket/636
enable chronyd.service
@ -127,6 +126,11 @@ enable virtlogd-admin.socket
enable virtlockd.socket
enable virtlockd-admin.socket
# Intel SGX/TDX
# https://issues.redhat.com/browse/RHEL-97438
enable mpa_registration.service
enable qgs.service
# https://fedoraproject.org/w/index.php?title=Starting_services_by_default&oldid=377748
enable xinetd.service
@ -473,3 +477,20 @@ enable fwupd-refresh.timer
# RHEL-67012
enable fips-crypto-policy-overlay.service
# Enable greenboot services
# https://issues.redhat.com/browse/RHEL-114149
# https://issues.redhat.com/browse/RHEL-141642
enable greenboot-set-success.target
enable greenboot-set-rollback-trigger.service
enable greenboot-grub2-set-counter.service
enable greenboot-grub2-set-success.service
enable greenboot-healthcheck.service
enable greenboot-set-rollback-trigger.service
enable greenboot-success.target
enable greenboot-loading-message.service
enable greenboot-rpm-ostree-grub2-check-fallback.service
enable greenboot-status.service
enable greenboot-task-runner.service
enable redboot-auto-reboot.service
enable redboot-task-runner.service

View File

@ -1,27 +0,0 @@
[beta]
name=AlmaLinux Kitten $releasever - Beta
baseurl=https://build.almalinux.org/pulp/content/copr/eabdullin1-almalinux10-beta-almalinux-10-$basearch-dr/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10
metadata_expire=86400
enabled_metadata=1
[beta-debuginfo]
name=AlmaLinux Kitten $releasever - Beta - Debug
baseurl=https://build.almalinux.org/pulp/content/copr/eabdullin1-almalinux10-beta-almalinux-10-$basearch-debug-dr/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10
metadata_expire=86400
enabled_metadata=0
[beta-source]
name=AlmaLinux Kitten $releasever - Beta - Source
baseurl=https://build.almalinux.org/pulp/content/copr/eabdullin1-almalinux10-beta-almalinux-10-src-dr/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10
metadata_expire=86400
enabled_metadata=0

View File

@ -2,7 +2,7 @@
name=AlmaLinux Kitten $releasever - CRB
mirrorlist=https://kitten.mirrors.almalinux.org/mirrorlist/$releasever-kitten/crb
# baseurl=https://kitten.repo.almalinux.org/$releasever-kitten/CRB/$basearch/os/
enabled=0
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10

View File

@ -2,13 +2,17 @@
%global distro AlmaLinux Kitten
%define release_name Lion Cub
%define release_type stable
%global major 10
%global minor 0
# %%global eol_date 2035-06-01
# For rpmbuild-bumpspec
%global baserelease 1
Name: almalinux-kitten-release
Version: %{major}.%{minor}
Release: 8%{?dist}.0.1
Release: 21%{?dist}
Summary: %{distro} release files
License: GPL-2.0-or-later
URL: https://almalinux.org
@ -74,6 +78,7 @@ Source512: almalinux-beta.repo
Source600: RPM-GPG-KEY-AlmaLinux-10
Source700: macros.x86_64_v2
%package -n almalinux-sb-certs
Summary: %{distro} public secureboot certificates
@ -129,6 +134,11 @@ ln -s almalinux-release %{buildroot}%{_sysconfdir}/redhat-release
%global dist_vendor AlmaLinux OS Foundation
%global dist_name %{distro}
# The namespace for purl
# https://github.com/package-url/purl-spec
# for example as in: pkg:rpm/almalinux/python-setuptools@69.2.0-10.el10?arch=src"
%global dist_purl_namespace almalinux
# URL of the homepage of the distribution
# Example: gstreamer1-plugins-base.spec
%global dist_home_url https://almalinux.org/
@ -147,6 +157,7 @@ install -d -m 0755 %{buildroot}%{_prefix}/lib
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
NAME="%{dist_name}"
VERSION="%{major} (%{release_name})"
RELEASE_TYPE=%{release_type}
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="%{major}"
@ -199,6 +210,7 @@ cat > %{buildroot}%{_rpmmacrodir}/macros.dist << EOF
%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}%%{distcore}%%{?distsuffix}%%{?with_bootstrap:%{__bootstrap}}
%%dist_vendor %{dist_vendor}
%%dist_name %{dist_name}
%%dist_purl_namespace %{dist_purl_namespace}
%%dist_home_url %{dist_home_url}
%%dist_bug_report_url %{dist_bug_report_url}
EOF
@ -307,6 +319,14 @@ sed -i "s/\$basearch/x86_64_v2/g" %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo
sed -i '/^mirrorlist=/ s|$|?arch=x86_64_v2|g' %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo
%endif
# Replace basearch to i686, disable mirrorlist and enable baseurl
%ifarch i686
sed -i "s/\$basearch/i686/g" %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo
sed -i 's/^mirrorlist=/# mirrorlist=/g' %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo
sed -i 's/^# baseurl=/baseurl=/g' %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo
sed -i 's/kitten\.repo\.almalinux\.org/kitten.vault.almalinux.org/g' %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo
%endif
# dnf variables
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
@ -318,8 +338,7 @@ install -p -m 0644 %{SOURCE600} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
# These variables should be set in the build environment to change rpm names
mkdir -p %{buildroot}%{_sysconfdir}/rpm
%ifarch x86_64_v2
echo '%%_target_platform x86_64-%%{_vendor}-%%{_target_os}%%{?_gnu}' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2
echo '%%x86_64_v2 1' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2
install -p -m 0644 %{SOURCE700} %{buildroot}%{_sysconfdir}/rpm/
%endif
@ -376,6 +395,37 @@ echo '%%x86_64_v2 1' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2
%{_sysconfdir}/pki/rpm-gpg
%changelog
* Thu Apr 16 2026 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-21
- Fix greenboot-rs preset services
* Thu Apr 02 2026 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-20
- Enable greenboot-rs services
- Enable cosmic-greeter service for COSMIC
* Wed Mar 25 2026 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-18.0.1
- Add support for i686 architecture
* Wed Jan 21 2026 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-18
- Enable plasmalogin service for KDE Plasma Login Manager
- Add RELEASE_TYPE field to os-release
* Fri Oct 17 2025 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-12.0.1
- Update SB keys
* Tue Oct 14 2025 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-12
- Add dist_purl_namespace to macros.dist
- Re-disable rpcbind.service and rpcbind.socket
- Enable greenboot services
* Mon Mar 31 2025 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-9.0.1
- Redefine __cflags_arch_x86_64_level and __cflags_arch_x86_64 macroses for x86_64_v2
* Tue Aug 26 2025 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-9
- Enable mpa_registration.service and qgs.service
* Thu May 29 2025 Neal Gompa <ngompa@almalinux.org> - 10.0-8.0.2
- Enable CRB repository by default
* Mon Mar 31 2025 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-8.0.1
- Update SB keys
@ -387,7 +437,7 @@ echo '%%x86_64_v2 1' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2
- Tweak /etc/issue to avoid incorrect English
- Provide system-release(releasever_major)
* Thu Feb 06 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 10.0-3.0.2
* Thu Feb 06 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 10.0-3.0.2
- Update AlmaLinux Secure Boot certificate
* Tue Dec 24 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-3.0.1

Binary file not shown.

4
macros.x86_64_v2 Normal file
View File

@ -0,0 +1,4 @@
%_target_platform x86_64-%{_vendor}-%{_target_os}%{?_gnu}
%x86_64_v2 1
%__cflags_arch_x86_64_level %[0%{?x86_64_v2} ? "-v2" : ""]%[ (!0%{?x86_64_v2} && 0%{?rhel} == 9) ? "-v2" : ""]%[ (!0%{?x86_64_v2} && 0%{?rhel} > 9) ? "-v3" : ""]
%__cflags_arch_x86_64 -march=x86-64%{?__cflags_arch_x86_64_level:%{__cflags_arch_x86_64_level}}