<?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>10285</bug_id>
          
          <creation_ts>2016-09-15 15:20:20 +0000</creation_ts>
          <short_desc>qemuboot.conf has the incorrect values for image_name and qb_default_kernel</short_desc>
          <delta_ts>2016-10-25 13:34:17 +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>Scripts and Tools</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jose Perez C">jose.perez.carranza</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>juan.fernandox.ramos.frayle</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>ross.burton</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Juan Ramos">juan.fernandox.ramos.frayle</qa_contact>
          <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>66212</commentid>
    <comment_count>0</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-09-15 15:20:20 +0000</bug_when>
    <thetext>STATUS: IDLE
BUILD: 2.2 M3: 2679a347c576f5411fbe802d2f6201c94036ecb2
ENVIRONMENT: qemu-x86
STEPS TO REPRODUCE: 

1.  Download: core-image-sato-sdk-qemux86.ext4
              core-image-sato-sdk-qemux86.manifest
              core-image-sato-sdk-qemux86.qemuboot.conf
              bzImage-qemux86.bin   
              from http://autobuilder.yoctoproject.org/pub/releases/yocto-2.2_M3.rc1/machines/qemu/qemux86/

2. place those files under build/tmp/deploy/images/qemux86

3. runqemu qmeux86

EXPECTED OUTCOME:   qemu start runnig 

ACTUAL OUTCOME: 

Exception: KERNEL poky/build/tmp/deploy/images/qemux86/bzImage not found
Exception: Failed to find rootfs: poky/build/tmp/deploy/images/qemux86/core-image-sato-sdk-qemux86-20160909112148*.ext4


Note: 
In the conf file values are set as follows:

image_name = core-image-sato-qemux86-20160909135113
qb_default_kernel = bzImage</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66218</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-15 15:48:08 +0000</bug_when>
    <thetext>Downloading the symlinked file names to test against, rather than those with the DATETIME stamp in, is undoubtedly part of the issue. However the qb_default_kernel value is incorrect as it&apos;s pointing to a symlink whereas it should be pointing at the full kernel filename.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66220</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-15 15:59:49 +0000</bug_when>
    <thetext>To be clear the bug here is in qemuboot.conf and the value it assigns to QB_DEFAULT_KERNEL:

QB_DEFAULT_KERNEL ?= &quot;${KERNEL_IMAGETYPE}&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66245</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-16 13:45:39 +0000</bug_when>
    <thetext>Series of runqemu fixes at:

http://lists.openembedded.org/pipermail/openembedded-core/2016-September/126577.html

specifically: http://lists.openembedded.org/pipermail/openembedded-core/2016-September/126579.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66360</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-20 15:01:42 +0000</bug_when>
    <thetext>Fix merged to OE-Core &amp; Poky master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7352d35d739acef65cfddc1923d34aa62c6f0f4c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67150</commentid>
    <comment_count>5</comment_count>
    <who name="Juan Ramos">juan.fernandox.ramos.frayle</who>
    <bug_when>2016-10-11 18:43:30 +0000</bug_when>
    <thetext>Verified with commit 4a7eb4b92f32c17abd1111246b1acb9ad3daa355 and is working correctly.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>