<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1727</bug_id>
          
          <creation_ts>2011-11-03 14:03:36 +0000</creation_ts>
          <short_desc>useradd class does not update RDEPENDS for all generated packages</short_desc>
          <delta_ts>2011-11-10 08:20:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>2011-11-06: Fix submitted to oe-core ML</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Garman">scott.a.garman</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17071</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-11-03 14:03:36 +0000</bug_when>
    <thetext>In useradd.bbclass, the following is done to add base-passwd and shadow to RDEPENDS:

USERADDPN ?= &quot;${PN}&quot;
...
RDEPENDS_${USERADDPN}_append = &quot; base-passwd shadow&quot;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17179</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-11-10 08:20:43 +0000</bug_when>
    <thetext>Fixed in oe-core and poky master:

http://git.openembedded.org/openembedded-core/commit/?id=2f73466eb5018040a123ccb0e2af8c519525f958

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=67a2c3553090ce3f74f48f6a46c7cbb1bcb2100d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>