Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Cc: "Michał Górny" <mgorny@g.o>, base-system@g.o
Subject: Re: [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system
Date: Wed, 28 Dec 2022 16:27:46
Message-Id: 78B7C6F8-35B1-47E7-8A41-A000031F4221@gentoo.org
In Reply to: [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system by Sam James
1 > On 28 Dec 2022, at 16:04, Sam James <sam@g.o> wrote:
2 >
3 > - Before this commit, nothing pulls in app-alternatives/sh, so we're relying on
4 > app-shells/bash handling /bin/sh as an orphaned symlink (which is one of the big
5 > things we're trying to move away from).
6 >
7 > - Add in the others (app-alternatives/{awk,bzip2,gzip,tar}) to allow setup
8 > via /etc/portage/package.use without adding these to @world manually,
9 > this also lays the ground work for at some point removing specific implementations
10 > in the future (after making sure ebuilds which need specific impls. depend on them).
11 >
12 > - Note that there's two exceptions:
13 > 1. app-alternaitves/yacc
14 >
15 > No need to explicitly add into @system, because we previously had virtual/yacc
16 > so it'll get pulled in by ebuild dependencies anyway.
17 >
18 > 2. app-alternatives/lex
19 >
20 > We never had virtual/lex before and packages very often explicitly
21 > depend on sys-devel/flex. But this isn't a big deal given it's very unlikely
22 > that a user wants to try modify lex yet and reflex is still very new as an
23 > option in Gentoo.
24 >
25 > That is, as time goes on and we test more to ensure it works with any lex,
26 > it'll get pulled in as various ebuilds get updated anyway.
27 >
28 > Bug: https://bugs.gentoo.org/886017
29 > Bug: https://bugs.gentoo.org/886247
30 > Signed-off-by: Sam James <sam@g.o>
31 > ---
32 > profiles/base/packages | 9 ++++++---
33 > 1 file changed, 6 insertions(+), 3 deletions(-)
34 >
35
36 FWIW, I'd like to push this today to avoid users having to deal
37 with the migration "twice" if they have eselect-sh installed,
38 given app-alternatives/* got stabled yesterday/early today.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies