<?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>11880</bug_id>
          
          <creation_ts>2017-08-01 13:46:29 +0000</creation_ts>
          <short_desc>kernel-devsrc: multiple System.map files present in kernel-build-artifacts</short_desc>
          <delta_ts>2017-12-11 01:00:18 +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>kernel</component>
          <version>2.4</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>sgw</cc>
    
    <cc>tom.zanussi</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>75559</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2017-08-01 13:46:29 +0000</bug_when>
    <thetext>If you build build linux kernel recipe, change the version and build it again you end up with multiple System.map files in build/tmp/work-shared/*/kernel-build-artifacts.

For example:
System.map-4.12.2
System.map-4.12.3
System.map-4.12.4

If your image recipe has kernel-devsrc in TOOLCHAIN_TARGET_TASK, then bitbake myimage -c populate_sdk will include these System.map files for multiple kernel versions besides the one currently being used.

Probably only the System.map file for the current kernel version should end up in kernel-devsrc?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75853</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2017-08-15 14:14:38 +0000</bug_when>
    <thetext>Accepting this. But it is unlikely that I&apos;ll have cycles for it this release. putting to m4, since this would be a stabilization fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78326</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2017-11-22 18:48:07 +0000</bug_when>
    <thetext>I think that adding a do_shared_workdir[cleandirs] entry for the kernel-build-artifacts, should address this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78655</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2017-12-11 01:00:18 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f295c1e944f5b9b972930ccac577206fbeb50298</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>