Add Minimal patch, remove almalinux.conf (already included upstream)
This commit is contained in:
parent
a7e96ccaba
commit
4977f84703
@ -1,30 +0,0 @@
|
|||||||
# Anaconda configuration file for AlmaLinux.
|
|
||||||
|
|
||||||
[Product]
|
|
||||||
product_name = AlmaLinux
|
|
||||||
|
|
||||||
[Base Product]
|
|
||||||
product_name = Red Hat Enterprise Linux
|
|
||||||
|
|
||||||
[Anaconda]
|
|
||||||
# List of enabled Anaconda DBus modules for RHEL.
|
|
||||||
# but without org.fedoraproject.Anaconda.Modules.Subscription
|
|
||||||
kickstart_modules =
|
|
||||||
org.fedoraproject.Anaconda.Modules.Timezone
|
|
||||||
org.fedoraproject.Anaconda.Modules.Network
|
|
||||||
org.fedoraproject.Anaconda.Modules.Localization
|
|
||||||
org.fedoraproject.Anaconda.Modules.Security
|
|
||||||
org.fedoraproject.Anaconda.Modules.Users
|
|
||||||
org.fedoraproject.Anaconda.Modules.Payloads
|
|
||||||
org.fedoraproject.Anaconda.Modules.Storage
|
|
||||||
org.fedoraproject.Anaconda.Modules.Services
|
|
||||||
|
|
||||||
[Bootloader]
|
|
||||||
efi_dir = almalinux
|
|
||||||
|
|
||||||
[Payload]
|
|
||||||
enable_closest_mirror = True
|
|
||||||
default_source = CLOSEST_MIRROR
|
|
||||||
|
|
||||||
[License]
|
|
||||||
eula = /usr/share/almalinux-release/EULA
|
|
13
SOURCES/anaconda-almalinux-add-minimal-repo.patch
Normal file
13
SOURCES/anaconda-almalinux-add-minimal-repo.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -Naur anaconda-34.25.0.29/pyanaconda/core/constants.py anaconda-34.25.0.29.minimal/pyanaconda/core/constants.py
|
||||||
|
--- anaconda-34.25.0.29/pyanaconda/core/constants.py 2022-03-17 17:39:24.000000000 +0100
|
||||||
|
+++ anaconda-34.25.0.29.minimal/pyanaconda/core/constants.py 2022-05-24 14:07:32.000000000 +0200
|
||||||
|
@@ -58,7 +58,8 @@
|
||||||
|
"fedora-modular-server",
|
||||||
|
"rawhide",
|
||||||
|
"BaseOS", # Used by RHEL
|
||||||
|
- "baseos"] # Used by CentOS Stream
|
||||||
|
+ "baseos", # Used by CentOS Stream
|
||||||
|
+ "Minimal"] # Used by AlmaLinux
|
||||||
|
|
||||||
|
DBUS_ANACONDA_SESSION_ADDRESS = "DBUS_ANACONDA_SESSION_BUS_ADDRESS"
|
||||||
|
|
@ -12,14 +12,12 @@ URL: http://fedoraproject.org/wiki/Anaconda
|
|||||||
# make dist
|
# make dist
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
# AlmaLinux install class
|
|
||||||
Source1: almalinux.conf
|
|
||||||
|
|
||||||
# AlmaLinux patches
|
# AlmaLinux patches
|
||||||
Patch1000: anaconda-almalinux-installer-colors.patch
|
Patch1000: anaconda-almalinux-installer-colors.patch
|
||||||
Patch1001: anaconda-almalinux-disable-subscription.patch
|
Patch1001: anaconda-almalinux-disable-subscription.patch
|
||||||
Patch1002: anaconda-almalinux-disable-cdn-radiobutton.patch
|
Patch1002: anaconda-almalinux-disable-cdn-radiobutton.patch
|
||||||
Patch1003: anaconda-almalinux-remove-visible-fedora-references.patch
|
Patch1003: anaconda-almalinux-remove-visible-fedora-references.patch
|
||||||
|
Patch1004: anaconda-almalinux-add-minimal-repo.patch
|
||||||
|
|
||||||
# Versions of required components (done so we make sure the buildrequires
|
# Versions of required components (done so we make sure the buildrequires
|
||||||
# match the requires versions of things).
|
# match the requires versions of things).
|
||||||
@ -308,9 +306,6 @@ runtime on NFS/HTTP/FTP servers or local disks.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p 1
|
%autosetup -p 1
|
||||||
|
|
||||||
# AlmaLinux install class
|
|
||||||
cp %{SOURCE1} data/product.d/
|
|
||||||
|
|
||||||
# Debrand
|
# Debrand
|
||||||
sed -e 's/RHEL/AlmaLinux/g' -i po/*.po
|
sed -e 's/RHEL/AlmaLinux/g' -i po/*.po
|
||||||
sed -e 's/Red Hat Enterprise Linux/AlmaLinux/g' -i po/*.po
|
sed -e 's/Red Hat Enterprise Linux/AlmaLinux/g' -i po/*.po
|
||||||
|
Loading…
Reference in New Issue
Block a user