Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302572 - support for enewuser and enewgroup during cross-compilation
Summary: support for enewuser and enewgroup during cross-compilation
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 06:49 UTC by Peter Levine
Modified: 2010-02-09 17:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for eutils.eclass (eutils.eclass.patch,2.25 KB, patch)
2010-01-28 06:50 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2010-01-28 06:49:21 UTC
The attached patch adds support in eutils.eclass for cross-helper utility (bug# 302570) so enewuser and enewgroup will work properly during cross-compilation on a native system.  egetent will check for the existence of cross-helper and if found use a grep statement, or else it will default to getent.  enewuser and enewgroup existence will check for the existence of cross-helper and use it.  Or it will emit an ewarn/ebeep message and proceed as usual.  I assumed I needed to file this in two bugs, thoough they are related, so please reference the bug# above.

Reproducible: Always
Comment 1 Peter Levine 2010-01-28 06:50:55 UTC
Created attachment 217697 [details, diff]
patch for eutils.eclass
Comment 2 SpanKY gentoo-dev 2010-02-09 17:22:25 UTC
this isnt a cross-compiling specific issue.  any emerge where ROOT!=/ is a problem.  same answer as the referenced bug -- enhance shadow.