diff --git a/alinux.conf b/alinux.conf new file mode 100644 index 0000000000000000000000000000000000000000..c91f12166133188226b975fa51c09c71e466c8de --- /dev/null +++ b/alinux.conf @@ -0,0 +1,24 @@ +# Anaconda configuration file for Anolis. + +[Profile] +# Define the profile. +profile_id = alinux +base_profile = rhel + +[Profile Detection] +# Match os-release values. +os_id = alinux + +[Anaconda] +forbidden_modules = + org.fedoraproject.Anaconda.Modules.Subscription + +[Bootloader] +efi_dir = anolis + +[Payload] +enable_closest_mirror = True +default_source = CLOSEST_MIRROR + +[License] +eula = /usr/share/alinux-release/EULA diff --git a/anaconda.spec b/anaconda.spec index bc5d8a1e4fbb8d694494b20a2eb176ed2f62c906..768ed3caae03723aad7cef64e48f5f14a44ecdc8 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,4 +1,4 @@ -%define anolis_release 5 +%define anolis_release 6 Summary: Graphical system installer Name: anaconda @@ -19,6 +19,7 @@ URL: http://fedoraproject.org/wiki/Anaconda Source0: https://github.com/rhinstaller/anaconda/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.bz2 Source1: anolis.conf Source2: authselect.ks +Source3: alinux.conf Patch1001: 1001-do-not-download-source-code-when-building.patch Patch1002: 1002-Set-the-default-timezone-to-Shanghai.patch @@ -319,6 +320,7 @@ runtime on NFS/HTTP/FTP servers or local disks. %{make_install} find %{buildroot} -type f -name "*.la" | xargs %{__rm} cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name}/profile.d/ +cp %{SOURCE3} %{buildroot}/%{_sysconfdir}/%{name}/profile.d/ # Create an empty directory for addons @@ -445,6 +447,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d %{_prefix}/libexec/anaconda/dd_* %changelog +* Fri Dec 13 2024 Chang Gao - 38.23-6 +- add alinux configuration + * Mon Mar 11 2024 Bo Ren - 38.23-5 - Rebuild with python3.11