Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Ahmed Ammar <b33fc0d3@g.o>
Subject: Re: emerge --root : users not created
Date: Wed, 16 Dec 2009 00:24:09 +0200
On Tue, 2009-12-15 at 18:37 +0100, Peter Stuge wrote:
> Ahmed Ammar wrote:
> > > > > so maybe it makes sense to simply have useradd call chroot()
> > > > > according to an option early on in main()?
> > > > 
> > > > This will definitely not work on cross targets?
> > > 
> > > Why not? useradd doesn't fork, it does all file IO on it's own, so I
> > > think it could work.
> > 
> > Well how exactly do you expect chroot to succeed when the host is
> > x86 and the ${ROOT} is arm?
> 
> It should work fine. Note chroot() system call, not the chroot
> utility.

Thanks for clearing that up, makes much more sense now. 

A.



References:
emerge --root : users not created
-- Shinkan
Re: emerge --root : users not created
-- Ed W
Re: emerge --root : users not created
-- Sven Rebhan
Re: emerge --root : users not created
-- Peter Stuge
Re: emerge --root : users not created
-- Daniel Glaser
Re: emerge --root : users not created
-- Peter Stuge
Re: emerge --root : users not created
-- Ahmed Ammar
Re: emerge --root : users not created
-- Peter Stuge
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: emerge --root : users not created
Next by thread:
Re: emerge --root : users not created
Previous by date:
Re: emerge --root : users not created
Next by date:
How can I get libstdc++ ?


Updated Jun 25, 2012

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.