<?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>9078</bug_id>
          
          <creation_ts>2016-02-08 17:42:02 +0000</creation_ts>
          <short_desc>When changing SDKIMAGE_FEATURES to &quot;dev-pkgs&quot;, some -dbg packages are still installed</short_desc>
          <delta_ts>2017-02-08 16:56:53 +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>2.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</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>58742</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2016-02-08 17:42:02 +0000</bug_when>
    <thetext>In order to reduce the size of the generated SDK, I&apos;m trying to disable the inclusion of the *-dbg packages into the build.

I set the switch, in my local.conf, to:

SDKIMAGE_FEATURES = &quot;dev-pkgs&quot;

This eliminated most of the debug binaries and sources, except for the core glibc/libgcc pieces.

Those pieces are being added by:

TOOLCHAIN_TARGET_TASK ?= &quot; \
    ${@multilib_pkg_extend(d, &apos;packagegroup-core-standalone-sdk-target&apos;)} \
    ${@multilib_pkg_extend(d, &apos;packagegroup-core-standalone-sdk-target-dbg&apos;)} \
    &quot;

It would be nice if the second entry was conditional on dbg-pkgs being in the SDKIMAGE_FEATURES.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69271</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-12-21 16:59:31 +0000</bug_when>
    <thetext>Turns out we can just rely on the complementary packages logic to pull in the right bits if required, so this was a trivial fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70555</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-02-08 16:56:53 +0000</bug_when>
    <thetext>Fixed in oe-core 4c711830ae26008f73bbf557964bdb86b8c922da.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>