Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 302572

Summary: support for enewuser and enewgroup during cross-compilation
Product: Gentoo Linux Reporter: Peter Levine <plevine457>
Component: EclassesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for eutils.eclass

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.