<?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>2246</bug_id>
          
          <creation_ts>2012-04-05 11:49:38 +0000</creation_ts>
          <short_desc>Doesn&apos;t build genext2fs when making core-image-minimal</short_desc>
          <delta_ts>2012-05-08 18:27:50 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.1.1</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>patch submitted (May 4)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>dvhart</cc>
    
    <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>19933</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-04-05 11:49:38 +0000</bug_when>
    <thetext>Poky from git, edison branch.  MACHINE=atom-pc and IMAGE_FSTYPES=live.

Building core-image-minimal fails in do_rootfs(): line 127: genext2fs: command not found.  Indeed, building genext2fs-native will then allow core-image-minimal to succeed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19934</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-05 12:11:45 +0000</bug_when>
    <thetext>Just as a note for this bug, someone needs to test this against master. The image handling code did get refactored between edison and master so its possible we did fix this but I&apos;m not sure. It should be possible to test just looking at the task graph (-g option to bitbake).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19975</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-04-05 23:00:31 +0000</bug_when>
    <thetext>I did a quick check with the -g option and found the following for edison:

grep -r genext2fs-native *.dot | grep -v dot:\&quot;ge
next2fs
task-depends.dot:&quot;core-image-minimal.do_rootfs&quot; -&gt; &quot;genext2fs-native.do_populate_sysroot&quot;
task-depends.dot:&quot;core-image-minimal.do_rootfs&quot; -&gt; &quot;genext2fs-native.do_package_write_rpm&quot;
task-depends.dot:&quot;core-image-minimal.do_build&quot; -&gt; &quot;genext2fs-native.do_package_write&quot;
task-depends.dot:&quot;core-image-minimal-initramfs.do_rootfs&quot; -&gt; &quot;genext2fs-native.do_populate_sysroot&quot;
task-depends.dot:&quot;core-image-minimal-initramfs.do_rootfs&quot; -&gt; &quot;genext2fs-native.do_package_write_rpm&quot;

I also checked with a full build and was not able to reproduce this issue, genext2fs built correctly.

Default edison with the following cmd line:

 MACHINE=atom-pc IMAGE_FSTYPES=live bitbake core-image-minimal

I used the edison-6.0.1.final tag.

It is working against 1.2 master also.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20007</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-06 15:18:25 +0000</bug_when>
    <thetext>You can&apos;t set IMAGE_FSTYPES from the commandline by default for a start...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20014</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-04-06 16:57:00 +0000</bug_when>
    <thetext>Then indeed just setting IMAGE_FSTYPES in local.conf with edison will result in a failure to build genext2fs, when building a live image with 1.1.1, both ext3 and live need to be specified on the IMAGE_FSTYPES list to get the correct dependencies.

This is fixed correctly in the image_types.bbclass file where it looks for live and adds ext3 to the list if it does not already exist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20917</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-01 15:13:30 +0000</bug_when>
    <thetext>So is a WILLNOTFIX (workaround available) or is this to be targeted for another edison point release?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20922</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-05-01 15:25:41 +0000</bug_when>
    <thetext>This should be straight forward to fix on the edison branch so I&apos;m leaning towards fixing it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21208</commentid>
    <comment_count>7</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-05-08 18:27:50 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=edison&amp;id=2b92d9f6d3a10ede2cf5db335e7df86c65858d20</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>