<?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>5617</bug_id>
          
          <creation_ts>2013-11-29 23:30:34 +0000</creation_ts>
          <short_desc>runqemu whitelists images</short_desc>
          <delta_ts>2014-01-10 09:24:27 +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>1.5</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>dvhart</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>39160</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-11-29 23:30:34 +0000</bug_when>
    <thetext>If I use runqemu with just a machine name (&quot;runqemu qemux86-64&quot;) it will find the most recent image *that matches a whitelist*.  This whitelist is rather small:

        case $name in
        *core-image-sato* | \
        *core-image-lsb* | \
        *core-image-basic* | \
        *core-image-minimal* )
            ROOTFS=$name

I just spent ten minutes getting very confused as I thought I was booting my fresh core-image-base, not my week-old core-image-sato-base.

Why does runqemu even need to filter the list of rootfs in the deploy directory?  If it really does need to, can it use a blacklist instead of a whitelist?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39228</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-12-04 22:18:50 +0000</bug_when>
    <thetext>No argument from me. These sorts of things were meant as sanity checks to help ensure it did sensible things, but for me they have become more of a pain than the script is worth, and I tend to just run qemu manually.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39229</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2013-12-04 23:23:07 +0000</bug_when>
    <thetext>So it sounds like the desired logic is to pick the most recently modified file which matches the MACHINE&apos;s default filesystem&apos;s filename extension?

I haven&apos;t fixed an oe-core bug in a while, I wouldn&apos;t mind taking care of this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39230</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-12-04 23:42:02 +0000</bug_when>
    <thetext>Yeah, that should work.  Images are in tmp/deploy/[$MACHINE]/ now too which helps when filtering the images.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39480</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2013-12-18 18:35:54 +0000</bug_when>
    <thetext>Fixed as of:

http://git.openembedded.org/openembedded-core/commit/?id=9f69e00200cdbd5ba2e46a54f33c29797816e43f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39730</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-01-10 09:24:27 +0000</bug_when>
    <thetext>Verified on master.
Commit ID: 6ee5d95317de77c1cfb6db6f1ab2de77f5fa085e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>