1 |
Hello everyone, |
2 |
|
3 |
I've made a PR on github to fix the user/group creation when using a |
4 |
ROOT different than /. |
5 |
|
6 |
This is the link of the PR: https://github.com/gentoo/gentoo/pull/19204 |
7 |
|
8 |
Could you please take a moment to take a look at it ? |
9 |
|
10 |
To test it, you need to create a new minimalist ROOT with: |
11 |
|
12 |
$ export ROOT=/tmp/test-root |
13 |
$ export SYSROOT=/tmp/sysroot |
14 |
$ mkdir -p ${ROOT}/etc/portage |
15 |
$ cp {,${ROOT}}/etc/portage/make.conf |
16 |
$ ln -s /var/db/repos/gentoo/profiles/default/linux/<arch>/<profile> |
17 |
${ROOT}/etc/portage/make.profile |
18 |
$ emerge baselayout coreutils |
19 |
|
20 |
Once it is done, you can emerge a new user for this ROOT, with this |
21 |
patch, the user will be created in ROOT, without the user will be |
22 |
installed on your system. |
23 |
|
24 |
Note, this PR work with other arch too. |
25 |
|
26 |
Thanks for your attention |
27 |
|
28 |
-- |
29 |
Jérémy |