Gentoo Archives: gentoo-dev

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: Support var overrides for user properties
Date: Mon, 04 Jan 2021 17:15:07
Message-Id: c34ccd24-a947-022a-586c-bf4fc86eda41@gentoo.org
In Reply to: [gentoo-dev] [PATCH] acct-user.eclass: Support var overrides for user properties by "Michał Górny"
1 On 2021-01-04 18:08, Michał Górny wrote:
2 > Introduce a few variables to allow easy overrides of common user account
3 > proprerties, that is:
4 >
5 > - ACCT_USER_<username>_SHELL
6 > - ACCT_USER_<username>_HOME
7 > - ACCT_USER_<username>_HOME_OWNER
8 > - ACCT_USER_<username>_HOME_PERMS
9 > - ACCT_USER_<username>_GROUPS
10 > - ACCT_USER_<username>_GROUPS_ADD
11 >
12 > The first five variables override the respective ACCT_USER_* variables,
13 > with ACCT_USER_*_GROUPS being a space-separated list. The *_GROUPS_ADD
14 > variable appends to groups present in the ebuild, as this seems a common
15 > necessity.
16 >
17 > We do realize that the original requirement of overriding ebuilds
18 > in a local repository was inconvenient. This new logic should permit
19 > easy updates via make.conf. Additionally, it has the advantage
20 > of clearly reporting the changes made in the build logs.
21 >
22 > This does not preclude other solutions to the problem. However, this
23 > is probably the best one and it should become the current
24 > recommendation.
25
26 This will improve the overlay situation and can be seen as overall
27 improvement but it doesn't address any shared concerns nor is it a
28 replacement for the proposed 'acct-user.eclass: don't modify existing
29 user by default' patch.
30
31
32 --
33 Regards,
34 Thomas Deutschmann / Gentoo Linux Developer
35 fpr: C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

Attachments

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

Replies