<?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>4228</bug_id>
          
          <creation_ts>2013-04-08 17:02:32 +0000</creation_ts>
          <short_desc>Allow complementary globs to be extended</short_desc>
          <delta_ts>2013-10-10 15:08:09 +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>OE-Core</product>
          <component>core</component>
          <version>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31722</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-08 17:02:32 +0000</bug_when>
    <thetext>At the moment the complementary package globs as implemented in image.bbclass (the complementary_globs function) aren&apos;t easy to extend. We should split out the definitions to varflags e.g.:

COMPLEMENTARY_GLOB[dev-pkgs] = &quot;*-dev&quot;
COMPLEMENTARY_GLOB[dbg-pkgs] = &quot;*-dbg&quot;
...

The complementary_globs function can then be changed to read from these, and additional definitions can be added easily in distro configuration or additional image classes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32874</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-05-03 15:50:13 +0000</bug_when>
    <thetext>Merged to master:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=58412ca75bc0d818c45d49d60a3ff8e1e263e42b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37802</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-10 11:17:08 +0000</bug_when>
    <thetext>I have some concerns about this. I tested with the following steps:

1) with default local.conf, issue &apos;bitbake -g core-image-sato&apos; and save package-depends.dot as package-depends.default

NOTE: I am using package-depends.dot because it shows the extra packages(-dev, -doc, etc)

2) add &quot;dbg-pkgs&quot; to EXTRA_IMAGE_FEATURES in local.conf, issue &apos;bitbake -g core-image-sato&apos; and save package-depends.dot as package-depends.dbg

3) remove &quot;dbg-pkgs&quot; and add &quot;dev-pkgs&quot; to EXTRA_IMAGE_FEATURES in local.conf, issue &apos;bitbake -g core-image-sato&apos; and save package-depends.dot as package-depends.dev

4) remove &quot;dev-pkgs&quot; and add &quot;ptest-pkgs&quot; to EXTRA_IMAGE_FEATURES in local.conf, issue &apos;bitbake -g core-image-sato&apos; and save package-depends.dot as package-depends.ptest

5) Use &apos;diff&apos; to see the differences between package-depends.default and the other saved package-depends.* files. Notice the differences are exactly the same.

This might be because of the way &apos;bitbake -g&apos; works or not. My expectations here ware that when adding, for example, &quot;dev-pkgs&quot; to EXTRA_IMAGE_FEATURES in local.conf I would get the -dev packages corresponding to the packages already in my image. 

I am marking it as REOPENED in order to attract attention on this and get things sorted out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37803</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-10 11:19:24 +0000</bug_when>
    <thetext>Another mention here: 

Tested with poky master:102bf5e0f640fe85068452a42b85077f1c81e0c9

In this snapshot I was not able to find the exact changes in the patch posted here. The &quot;def normal_groups(d):&quot; chunk is missing probably due to intermediate changes to the image.bbclass file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37804</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-10-10 11:26:53 +0000</bug_when>
    <thetext>I would suggest examining the contents of an image (or buildhistory&apos;s installed package list) to verify this rather than relying on bitbake -g.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37818</commentid>
    <comment_count>5</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-10 15:07:53 +0000</bug_when>
    <thetext>After using buildhistory&apos;s &quot;installed-packages.txt&quot; to analyze the packages inside images, the feature works as advertised.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37819</commentid>
    <comment_count>6</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-10 15:08:09 +0000</bug_when>
    <thetext>As per the above comment.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>