1 |
2009/12/14 Ed W <lists@××××××××××.com>: |
2 |
> Yep, seems like a known bug |
3 |
|
4 |
It's not exactly a bug but rather a missing feature in useradd and |
5 |
friends. The correct way to solve this would be to add an option to |
6 |
useradd, allowing to specify a passwd file other than /etc/passwd. |
7 |
Afterwards patch the corresponding eclass to use this option. Patches |
8 |
are welcome. ;-) |
9 |
|
10 |
> Quite annoying - workarounds would be highly appreciated! |
11 |
|
12 |
To install a cross-compiled system read: |
13 |
http://gentoo.mindzoo.de/index.cgi/wiki/Cross Install |
14 |
|
15 |
Especially the command: |
16 |
find /var/db/pkg -name '*.ebuild' -exec grep -qF 'pkg_postinst()' {} |
17 |
\; -exec ebuild {} postinst \; |
18 |
|
19 |
which re-executes all post-install procedures on the target system |
20 |
(and thus adds the users). |
21 |
|
22 |
Regards, |
23 |
Sven |