public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sven Rebhan <odinshorse@googlemail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] emerge --root : users not created
Date: Mon, 14 Dec 2009 18:47:14 +0100	[thread overview]
Message-ID: <3dc1583f0912140947q106e673fkcb541cc8929c0321@mail.gmail.com> (raw)
In-Reply-To: <4B267265.7080406@wildgooses.com>

2009/12/14 Ed W <lists@wildgooses.com>:
> Yep, seems like a known bug

It's not exactly a bug but rather a missing feature in useradd and
friends. The correct way to solve this would be to add an option to
useradd, allowing to specify a passwd file other than /etc/passwd.
Afterwards patch the corresponding eclass to use this option. Patches
are welcome. ;-)

> Quite annoying - workarounds would be highly appreciated!

To install a cross-compiled system read:
http://gentoo.mindzoo.de/index.cgi/wiki/Cross Install

Especially the command:
find /var/db/pkg -name '*.ebuild' -exec grep -qF 'pkg_postinst()' {}
\; -exec ebuild {} postinst \;

which re-executes all post-install procedures on the target system
(and thus adds the users).

Regards,
    Sven



  reply	other threads:[~2009-12-14 17:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-14 16:17 [gentoo-embedded] emerge --root : users not created Shinkan
2009-12-14 17:14 ` Ed W
2009-12-14 17:47   ` Sven Rebhan [this message]
2009-12-14 18:06     ` Peter Stuge
2009-12-15  7:31       ` Sven Rebhan
2009-12-15  8:53       ` Daniel Glaser
2009-12-15 10:33         ` Peter Stuge
2009-12-15 13:31           ` Ahmed Ammar
2009-12-15 14:00             ` Shinkan
2009-12-15 17:37             ` Peter Stuge
2009-12-15 22:24               ` Ahmed Ammar
2009-12-21 21:25               ` Ahmed Ammar
2009-12-21 21:29                 ` Ned Ludd
2009-12-22 11:38                   ` Peter Stuge
  -- strict thread matches above, loose matches on Subject: below --
2010-02-16 15:04 P. Levine
2010-02-16 15:20 P. Levine
2010-02-16 15:42 P. Levine
2010-02-16 15:56 P. Levine
2010-02-16 16:14 P. Levine
2010-02-22 14:41 P. Levine
2010-02-22 15:19 ` Peter Stuge
2010-02-22 18:44   ` P. Levine
2010-02-23 16:58 ` Ned Ludd
2010-02-24  2:01   ` P. Levine
2010-03-06  0:52 ` P. Levine
2010-03-08 11:05   ` Ed W

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3dc1583f0912140947q106e673fkcb541cc8929c0321@mail.gmail.com \
    --to=odinshorse@googlemail.com \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox