Gentoo Archives: gentoo-embedded

From: "P. Levine" <plevine457@×××××××.net>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Re: emerge --root : users not created
Date: Thu, 17 Jun 2010 22:03:37
Message-Id: 4C1A990A.9080704@verizon.net
In Reply to: Re: [gentoo-embedded] Re: emerge --root : users not created by Ned Ludd
1 On 06/17/2010 03:39 PM, Ned Ludd wrote:
2 > On Thu, 2010-06-17 at 12:57 -0400, P. Levine wrote:
3 >> On 06/14/2010 04:09 AM, Sven Rebhan wrote:
4 >>> 2010/6/11 Marcus Priesch <marcus@××××××××××××.at>:
5 >>>> Hi sven,
6 >>>>
7 >>>> wouldnt it be enough to have the patch included in gentoo's shadow
8 >>>> ebuild - as i think its mainly relevant for gentoo folks - at least in
9 >>>> the meantime, until the patch gets accepted upstream ?!
10 >>>
11 >>> Well, talk to the Gentoo maintainer of the shadow suite. :-) IIRC, it was
12 >>> clearly said, that the patch has to go through mainstream, but you can
13 >>> try nevertheless. IMHO the patch really _should_ go upstream and be
14 >>> reviewed there as it might be relevant for security stuff.
15 >>>
16 >>>> as i assume this patch alone is not enough - as it needs tweaking the
17 >>>> eclass providing the eadduser & co functions also ... and therefore it's
18 >>>> hard to put in an overlay ... or ?!?!
19 >>>
20 >>> The procedure would be:
21 >>> 1. Get the patch accepted either upstream or in the portage tree.
22 >>> 2. Find a good check to distinguish --chroot enabled and disabled shadow
23 >>> 3. Modify the eclass accordingly.
24 >>>
25 >>> So, start with 1. and the rest will happen automatically... ;-)
26 >>>
27 >>> Sven
28 >>>
29 >>>
30 >>
31 >> I'm currently trying to upgrade the patch to the latest shadow svn head.
32 >>
33 >> I'm having a problem that I might have to post on gentoo bugs, but I'd
34 >> like to post it here to make sure I'm not overlooking anything. I
35 >> started a new cross-build of armv4l-softfloat-linux-gnueabi with
36 >> crossdev. After installing the toolchain, using emerge-wrapper --init,
37 >> modifying make.conf, etc..., all emerges with
38 >> ROOT=/usr/armv4l-softfloat-linux-gnueabi/ in the environment cause
39 >> portage to use the --quiet flag. I don't have the flag in
40 >> PORTAGE_RSYNC_EXTRA_OPTS. I've tried deleting /var/cache/edb and
41 >> ${ROOT}var/cache/edb, to no avail. I can't use FEATURES="python-trace"
42 >> to debug because the --quiet flag seems to override it. All thats
43 >> visible is "myopts {'--quiet': True, '--buildpkg': True, '--verbose':
44 >> True, '--oneshot': True, '--debug': True, '--root-deps':'rdeps'}". I
45 >> already searched gentoo bugs. Does anyone know if there was a change in
46 >> portage that would cause this, or am I overlooking something?
47 >>
48 >> -P. Levine
49 >
50 >
51 > Check to see if the version of crossdev you are using has the -q flag
52 > in /usr/bin/cross-emerge. If so you can remove it from there.
53 >
54
55 Wow, I completely misread the last line.
56 Thanks.
57
58 -P. Levine