Skip to content

Commit 9e7a5f6

Browse files
authored
Do not install base-devel by default (#4022)
* replace base-devel with sudo and add disclaimer texts * revert basepot and add rem comments
1 parent 9412f97 commit 9e7a5f6

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

archinstall/lib/installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
from .storage import storage
5353

5454
# Any package that the Installer() is responsible for (optional and the default ones)
55-
__packages__ = ['base', 'base-devel', 'linux-firmware', 'linux', 'linux-lts', 'linux-zen', 'linux-hardened']
55+
__packages__ = ['base', 'sudo', 'linux-firmware', 'linux', 'linux-lts', 'linux-zen', 'linux-hardened']
5656

5757
# Additional packages that are installed if the user is running the Live ISO with accessibility tools enabled
5858
__accessibility_packages__ = ['brltty', 'espeakup', 'alsa-utils']

archinstall/lib/interactions/general_conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ def ask_additional_packages_to_install(
161161
package_groups = PackageGroup.from_available_packages(packages)
162162

163163
# Additional packages (with some light weight error handling for invalid package names)
164-
header = tr('Only packages such as base, base-devel, linux, linux-firmware, efibootmgr and optional profile packages are installed.') + '\n'
164+
header = tr('Only packages such as base, sudo, linux, linux-firmware, efibootmgr and optional profile packages are installed.') + '\n'
165+
header += tr('Note: base-devel is no longer installed by default. Add it here if you need build tools.') + '\n'
165166
header += tr('Select any packages from the below list that should be installed additionally') + '\n'
166167

167168
# there are over 15k packages so this needs to be quick

archinstall/locales/base.pot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ msgid ""
5050
"and optional profile packages are installed."
5151
msgstr ""
5252

53+
msgid "Note: base-devel is no longer installed by default. Add it here if you need build tools."
54+
msgstr ""
55+
5356
msgid ""
5457
"If you desire a web browser, such as firefox or chromium, you may specify it "
5558
"in the following prompt."

archinstall/locales/en/LC_MESSAGES/base.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ msgstr ""
5050
msgid "Choose an audio server"
5151
msgstr ""
5252

53-
msgid "Only packages such as base, base-devel, linux, linux-firmware, efibootmgr and optional profile packages are installed."
53+
msgid "Only packages such as base, sudo, linux, linux-firmware, efibootmgr and optional profile packages are installed."
54+
msgstr ""
55+
56+
msgid "Note: base-devel is no longer installed by default. Add it here if you need build tools."
5457
msgstr ""
5558

5659
msgid "If you desire a web browser, such as firefox or chromium, you may specify it in the following prompt."

0 commit comments

Comments
 (0)