public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system
@ 2022-12-28 16:04 Sam James
  2022-12-28 16:27 ` Sam James
  0 siblings, 1 reply; 4+ messages in thread
From: Sam James @ 2022-12-28 16:04 UTC (permalink / raw
  To: gentoo-dev; +Cc: mgorny, base-system, Sam James

- 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-alternaitves/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.

Bug: https://bugs.gentoo.org/886017
Bug: https://bugs.gentoo.org/886247
Signed-off-by: Sam James <sam@gentoo.org>
---
 profiles/base/packages | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/profiles/base/packages b/profiles/base/packages
index e0cee163af993..533a67c70e05c 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,9 +24,12 @@
 # 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
 *app-arch/tar
 *app-arch/xz-utils
 *app-shells/bash:0
-- 
2.39.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-28 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-28 16:04 [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system Sam James
2022-12-28 16:27 ` Sam James
2022-12-28 18:52   ` Sam James
2022-12-28 19:06     ` Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox