From 9e7a5f693108aad80a731bb719454547b97e50c9 Mon Sep 17 00:00:00 2001 From: HADEON <52324046+h8d13@users.noreply.github.com> Date: Thu, 25 Dec 2025 01:00:34 +0100 Subject: [PATCH] Do not install base-devel by default (#4022) * replace base-devel with sudo and add disclaimer texts * revert basepot and add rem comments --- archinstall/lib/installer.py | 2 +- archinstall/lib/interactions/general_conf.py | 3 ++- archinstall/locales/base.pot | 3 +++ archinstall/locales/en/LC_MESSAGES/base.po | 5 ++++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index a4fa4891..93829ecc 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -52,7 +52,7 @@ from .plugins import plugins from .storage import storage # Any package that the Installer() is responsible for (optional and the default ones) -__packages__ = ['base', 'base-devel', 'linux-firmware', 'linux', 'linux-lts', 'linux-zen', 'linux-hardened'] +__packages__ = ['base', 'sudo', 'linux-firmware', 'linux', 'linux-lts', 'linux-zen', 'linux-hardened'] # Additional packages that are installed if the user is running the Live ISO with accessibility tools enabled __accessibility_packages__ = ['brltty', 'espeakup', 'alsa-utils'] diff --git a/archinstall/lib/interactions/general_conf.py b/archinstall/lib/interactions/general_conf.py index fed77b5e..8fc9bd69 100644 --- a/archinstall/lib/interactions/general_conf.py +++ b/archinstall/lib/interactions/general_conf.py @@ -161,7 +161,8 @@ def ask_additional_packages_to_install( package_groups = PackageGroup.from_available_packages(packages) # Additional packages (with some light weight error handling for invalid package names) - header = tr('Only packages such as base, base-devel, linux, linux-firmware, efibootmgr and optional profile packages are installed.') + '\n' + header = tr('Only packages such as base, sudo, linux, linux-firmware, efibootmgr and optional profile packages are installed.') + '\n' + header += tr('Note: base-devel is no longer installed by default. Add it here if you need build tools.') + '\n' header += tr('Select any packages from the below list that should be installed additionally') + '\n' # there are over 15k packages so this needs to be quick diff --git a/archinstall/locales/base.pot b/archinstall/locales/base.pot index 11dc6e54..4afd74ab 100644 --- a/archinstall/locales/base.pot +++ b/archinstall/locales/base.pot @@ -50,6 +50,9 @@ msgid "" "and optional profile packages are installed." msgstr "" +msgid "Note: base-devel is no longer installed by default. Add it here if you need build tools." +msgstr "" + msgid "" "If you desire a web browser, such as firefox or chromium, you may specify it " "in the following prompt." diff --git a/archinstall/locales/en/LC_MESSAGES/base.po b/archinstall/locales/en/LC_MESSAGES/base.po index 22a879da..3a580a94 100644 --- a/archinstall/locales/en/LC_MESSAGES/base.po +++ b/archinstall/locales/en/LC_MESSAGES/base.po @@ -50,7 +50,10 @@ msgstr "" msgid "Choose an audio server" msgstr "" -msgid "Only packages such as base, base-devel, linux, linux-firmware, efibootmgr and optional profile packages are installed." +msgid "Only packages such as base, sudo, linux, linux-firmware, efibootmgr and optional profile packages are installed." +msgstr "" + +msgid "Note: base-devel is no longer installed by default. Add it here if you need build tools." msgstr "" msgid "If you desire a web browser, such as firefox or chromium, you may specify it in the following prompt."