commit: 412f08a0980207e1502bf61fff242a041cbd212d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 28 15:56:15 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 18:54:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412f08a0
profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system
- Before this commit, nothing pulls in app-alternatives/sh, so we're relying on
app-shells/bash handling /bin/sh as an orphaned symlink (which is one of the
big
things we're trying to move away from).
- Add in the others (app-alternatives/{awk,bzip2,gzip,tar}) to allow setup
via /etc/portage/package.use without adding these to @world manually,
this also lays the ground work for at some point removing specific
implementations
in the future (after making sure ebuilds which need specific impls. depend on
them).
- Note that there's two exceptions:
1. app-alternatives/yacc
No need to explicitly add into @system, because we previously had
virtual/yacc
so it'll get pulled in by ebuild dependencies anyway.
2. app-alternatives/lex
We never had virtual/lex before and packages very often explicitly
depend on sys-devel/flex. But this isn't a big deal given it's very
unlikely
that a user wants to try modify lex yet and reflex is still very new as an
option in Gentoo.
That is, as time goes on and we test more to ensure it works with any lex,
it'll get pulled in as various ebuilds get updated anyway.
- We keep app-arch/bzip2 & app-arch/gzip in @system for now because PMS
is clear they must be available and I'd rather be conservative for now,
as we want to get the change in this commit in to minimise disruption
wrt the app-alternatives migration, but I'd like to revisit this another
time.
Bug: https://bugs.gentoo.org/886017
Bug: https://bugs.gentoo.org/886247
Signed-off-by: Sam James <sam <AT> gentoo.org>
profiles/base/packages | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/profiles/base/packages b/profiles/base/packages
index e0cee163af99..43b1f069add7 100644
--- a/profiles/base/packages
+++ b/profiles/base/packages
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License, v2
# Gentoo Base Profile
@@ -24,6 +24,11 @@
# of the minimum set of packages needed for any Gentoo based system.
*>=sys-apps/baselayout-2
+*app-alternatives/awk
+*app-alternatives/bzip2
+*app-alternatives/gzip
+*app-alternatives/sh
+*app-alternatives/tar
*app-admin/eselect
*app-arch/bzip2
*app-arch/gzip