Gentoo Archives: gentoo-embedded

From: Sven Rebhan <odinshorse@××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] emerge --root : users not created
Date: Mon, 14 Dec 2009 17:47:47
Message-Id: 3dc1583f0912140947q106e673fkcb541cc8929c0321@mail.gmail.com
In Reply to: Re: [gentoo-embedded] emerge --root : users not created by Ed W
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

Replies

Subject Author
Re: [gentoo-embedded] emerge --root : users not created Peter Stuge <peter@×××××.se>