Bug 1702 - Exclude useradd class from nativesdk builds
Summary: Exclude useradd class from nativesdk builds
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M1
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard: 2011-11-08: Fix submitted to oe-core ML
Depends on:
Blocks:
 
Reported: 2011-10-26 09:49 UTC by Scott Garman
Modified: 2011-11-10 08:19 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Garman 2011-10-26 09:49:07 UTC
James Limbouris reported an issue building a nativesdk version of dbus, which pulls in base-passwd due to the useradd class. But it does not make sense to include base-passwd for a nativesdk build.

To resolve this, it should be possible to add some code to useradd.bbclass to skip over the code in the nativesdk case, using something like:

if bb.data.inherits_class('nativesdk', d):