<?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>5416</bug_id>
          
          <creation_ts>2013-10-30 08:11:11 +0000</creation_ts>
          <short_desc>kernel build failed when it&apos;s bundled with initramfs and inherit rm_work</short_desc>
          <delta_ts>2014-04-24 03:17:05 +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>deployment</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xufeng Zhang">xufeng.zhang</reporter>
          <assigned_to name="Xufeng Zhang">xufeng.zhang</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>jason.wessel</cc>
    
    <cc>jessica.zhang</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>38290</commentid>
    <comment_count>0</comment_count>
    <who name="Xufeng Zhang">xufeng.zhang</who>
    <bug_when>2013-10-30 08:11:11 +0000</bug_when>
    <thetext>This is a regression introduced by commit 609d5a9ab (kernel.bbclass,
image.bbclass: Implement kernel INITRAMFS dependency and bundling).

Since kernel will build twice when we are trying to bundle the kernel
and initramfs together after 609d5a9ab(&quot;kernel.bbclass,
image.bbclass: Implement kernel INITRAMFS dependency and bundling&quot;),
thus, the second building for kernel would fail if rm_work is done
previously.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38358</commentid>
    <comment_count>1</comment_count>
    <who name="Jason Wessel">jason.wessel</who>
    <bug_when>2013-10-31 15:54:09 +0000</bug_when>
    <thetext>The kernel objects are required to be around if you are doing the bundling because they are required to re-link things.  We do not really want to bundle all these .o files into the sysroot because the do_package and do_install is already too slow for the kernel.

Is there a way to pass on the rm_work for a certain package if the option to bundle is turned on?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38416</commentid>
    <comment_count>2</comment_count>
    <who name="Xufeng Zhang">xufeng.zhang</who>
    <bug_when>2013-11-01 09:50:56 +0000</bug_when>
    <thetext>&gt;&gt;Is there a way to pass on the rm_work for a certain package if the option to bundle is turned on?

Actually kernel could be excluded from rm_work by RM_WORK_EXCLUDE variable,
but kernel build stuff occupy lots of disk space, so we still need to
clean up the kernel after do_bundle_initramfs task is finished.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42958</commentid>
    <comment_count>3</comment_count>
    <who name="Xufeng Zhang">xufeng.zhang</who>
    <bug_when>2014-04-24 03:17:05 +0000</bug_when>
    <thetext>Patch has already been merged.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>