Bug 1727 - useradd class does not update RDEPENDS for all generated packages
Summary: useradd class does not update RDEPENDS for all generated packages
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M1
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard: 2011-11-06: Fix submitted to oe-core ML
Depends on:
Blocks:
 
Reported: 2011-11-03 14:03 UTC by Scott Garman
Modified: 2011-11-10 08:20 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-11-03 14:03:36 UTC
In useradd.bbclass, the following is done to add base-passwd and shadow to RDEPENDS:

USERADDPN ?= "${PN}"
...
RDEPENDS_${USERADDPN}_append = " base-passwd shadow"

This is not adding the RDEPENDS to all generated packages - only the one which is named PN (recipe name). 

Since we add the user/group addition postinstalls to all generated packages, RDEPENDS needs to be updated for all generated packages.