Gentoo Archives: gentoo-embedded

From: Ahmed Ammar <b33fc0d3@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] emerge --root : users not created
Date: Tue, 15 Dec 2009 13:32:36
Message-Id: 1260883909.9491.2.camel@gentoo-dev
In Reply to: Re: [gentoo-embedded] emerge --root : users not created by Peter Stuge
1 On Tue, 2009-12-15 at 11:33 +0100, Peter Stuge wrote:
2 > Daniel Glaser wrote:
3 > > > so maybe it makes sense to simply have useradd call chroot()
4 > > > according to an option early on in main()?
5 > >
6 > > This will definitely not work on cross targets?
7 >
8 > Why not? useradd doesn't fork, it does all file IO on it's own, so I
9 > think it could work.
10
11 Well how exactly do you expect chroot to succeed when the host is x86
12 and the ${ROOT} is arm?
13
14 A.

Replies

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