<?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>7454</bug_id>
          
          <creation_ts>2015-03-13 05:10:28 +0000</creation_ts>
          <short_desc>core-image-full-cmdine build failure, error in bootdirectdisk</short_desc>
          <delta_ts>2015-03-26 06:46:52 +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.7.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6889</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Padam Jeet Singh">padam.singh</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49440</commentid>
    <comment_count>0</comment_count>
    <who name="Padam Jeet Singh">padam.singh</who>
    <bug_when>2015-03-13 05:10:28 +0000</bug_when>
    <thetext>When building the first time an image via Hob, I run into the following error:


DEBUG: Executing python function do_bootdirectdisk
DEBUG: Executing python function build_syslinux_cfg
DEBUG: Python function build_syslinux_cfg finished
DEBUG: Executing python function build_efi_cfg
DEBUG: Python function build_efi_cfg finished
DEBUG: Executing shell function build_boot_dd
ERROR: /home/yocto/Workspace/lteagg/poky/build/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.cpio.gz is invalid. initrd image creation failed.
WARNING: exit code 1 from a shell command.
DEBUG: Python function do_bootdirectdisk finished
ERROR: Function failed: build_boot_dd (log file is located at /home/yocto/Workspace/lteagg/poky/build/tmp/work/genericx86_64-poky-linux/core-image-full-cmdline/1.0-r0/temp/log.do_bootdirectdisk.13554)


However, when I generate the same image again without any changes it builds fine. I have made no changes at all to any recipes or configuration. I had selected ext3, hddimg, and vmdk as image types in Advance configuration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49557</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-03-19 05:08:45 +0000</bug_when>
    <thetext>I was able to reproduce this with HOB and standalone, there appears to be a dependency issue, will investigate further,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49608</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-03-20 15:26:07 +0000</bug_when>
    <thetext>Padam, It may be the case that live and vmdk are not compatible image types, 
meaning that they can not be built at the same time, the reason it may have 
worked the second time is that it built the initramfs and the timing of the 
dependencies and built images worked.  There is another bug noting this issue 
and adding a sanity test to the core to prevent this situation.  If you don&apos;t 
believe this is correct or you have a different issue, please re-open this bug 
and explain the failure and your needs.

*** This bug has been marked as a duplicate of bug 6889 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49781</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-03-26 06:46:52 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Padam, It may be the case that live and vmdk are not compatible image types, 
&gt; meaning that they can not be built at the same time, the reason it may have 
&gt; worked the second time is that it built the initramfs and the timing of the 
&gt; dependencies and built images worked.  There is another bug noting this
&gt; issue 
&gt; and adding a sanity test to the core to prevent this situation.  If you
&gt; don&apos;t 
&gt; believe this is correct or you have a different issue, please re-open this
&gt; bug 
&gt; and explain the failure and your needs.
&gt; 
&gt; *** This bug has been marked as a duplicate of bug 6889 ***

Verified as per above comments.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>