From 1d561c4ab415f8e19879d3c3de7874ce3a6366cb Mon Sep 17 00:00:00 2001 From: h8d13 Date: Sun, 21 Dec 2025 19:31:09 +0100 Subject: [PATCH 1/2] replace base-devel with sudo and add disclaimer texts --- archinstall/lib/installer.py | 7 ++++++- archinstall/lib/interactions/general_conf.py | 3 ++- archinstall/locales/base.pot | 5 ++++- archinstall/locales/en/LC_MESSAGES/base.po | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 36a15df686..f8accf1376 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -52,7 +52,12 @@ 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'] + +# base-devel is actually more a developer's thing and isn't strictly required in arch systems +# it also overlaps the following pacman, grep, sed, gawk, findutils, file, gettext, gzip, archlinux-keyring (already in base) +# not needed for a common user gcc, make, autoconf, automake, binutils, flex, bison, etc. +# see https://github.com/archlinux/archinstall/discussions/159 # 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 fed77b5e93..8fc9bd690d 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 11dc6e5494..f12ed4ff9f 100644 --- a/archinstall/locales/base.pot +++ b/archinstall/locales/base.pot @@ -46,10 +46,13 @@ msgid "Choose an audio server" msgstr "" msgid "" -"Only packages such as base, base-devel, linux, linux-firmware, efibootmgr " +"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." diff --git a/archinstall/locales/en/LC_MESSAGES/base.po b/archinstall/locales/en/LC_MESSAGES/base.po index 22a879da83..3a580a945a 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." From 28f4d7011163926451ec84338221366ebfdc164d Mon Sep 17 00:00:00 2001 From: h8d13 Date: Thu, 25 Dec 2025 00:41:44 +0100 Subject: [PATCH 2/2] revert basepot and add rem comments --- archinstall/lib/installer.py | 5 ----- archinstall/locales/base.pot | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index f8accf1376..95c86118db 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -54,11 +54,6 @@ # Any package that the Installer() is responsible for (optional and the default ones) __packages__ = ['base', 'sudo', 'linux-firmware', 'linux', 'linux-lts', 'linux-zen', 'linux-hardened'] -# base-devel is actually more a developer's thing and isn't strictly required in arch systems -# it also overlaps the following pacman, grep, sed, gawk, findutils, file, gettext, gzip, archlinux-keyring (already in base) -# not needed for a common user gcc, make, autoconf, automake, binutils, flex, bison, etc. -# see https://github.com/archlinux/archinstall/discussions/159 - # 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/locales/base.pot b/archinstall/locales/base.pot index f12ed4ff9f..4afd74ab7f 100644 --- a/archinstall/locales/base.pot +++ b/archinstall/locales/base.pot @@ -46,7 +46,7 @@ msgid "Choose an audio server" msgstr "" msgid "" -"Only packages such as base, sudo, linux, linux-firmware, efibootmgr " +"Only packages such as base, base-devel, linux, linux-firmware, efibootmgr " "and optional profile packages are installed." msgstr ""