1 |
On Wed, 23 Nov 2016 09:44:33 +0100 |
2 |
Manuel Rüger <mrueg@g.o> wrote: |
3 |
|
4 |
> What happens if the ebuild wants to create multiple users/group? |
5 |
> Currently, I want to ignore that case and focus on the 80% ebuilds that |
6 |
> can profit from such an eclass. |
7 |
|
8 |
You can solve that part quite easily really. |
9 |
|
10 |
Just deem USERKIT_USER and USERKIT_GROUP to be basenames |
11 |
for idenitifiers. |
12 |
|
13 |
|
14 |
Then you'd have |
15 |
|
16 |
get_user == returns "${USERKIT_USER}" |
17 |
|
18 |
get_user "admin" == returns "${USERKIT_USER}-admin" |
19 |
|
20 |
Its not a perfect solution, but its better than "we just forget about this" |