<?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>7477</bug_id>
          
          <creation_ts>2015-03-18 14:25:26 +0000</creation_ts>
          <short_desc>runqemu should support running poky tiny</short_desc>
          <delta_ts>2016-10-19 15:03:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>Wiki</product>
          <component>wiki</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>08 August 2016: NEEDINFO</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristian Iorga">cristian.iorga</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>dvhart</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
    
    <cc>tom.zanussi</cc>
          
          <qa_contact name="Lucian Musat">georgex.l.musat</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49544</commentid>
    <comment_count>0</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-03-18 14:25:26 +0000</bug_when>
    <thetext>runqemu helper script should be able to also run other distros than the default poky, like poky-tiny for example.

Details regarding running poky-tiny distro:
https://wiki.yoctoproject.org/wiki/Poky-Tiny</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50592</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-04-29 08:10:06 +0000</bug_when>
    <thetext>runqemu script needs to be able to run poky-tiny so that automated QA tests can be used for poky-tiny distro.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50595</commentid>
    <comment_count>2</comment_count>
    <who name="Lucian Musat">georgex.l.musat</who>
    <bug_when>2015-04-29 08:47:15 +0000</bug_when>
    <thetext>Hello Cristian, 

There is already a qemu tiny runner and an automated QA test suite in place for poky tiny (meta/lib/oeqa/runtime/_qemutiny.py; meta/lib/oeqa/utils/qemutinyrunner.py)

qemux86 tiny should be able to boot using runqemu script using ramfs (as per comments in bug #3990)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58966</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-02-12 17:21:17 +0000</bug_when>
    <thetext>As pointed out by Lucian, runqemu does support a qemux86 poky-tiny distro.  
Simply running &quot;runqemu qemux86 ramfs&quot; with a core-image-minimal built with 
poky-tiny works correctly.

Unless there are some other requirements that I am not aware of, I am closing 
this.

The poky-tiny wiki should be updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59025</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-02-15 15:50:34 +0000</bug_when>
    <thetext>What is the URL for this wiki?  I will see if I have access rights to change it.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63367</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-06-27 18:37:50 +0000</bug_when>
    <thetext>Can someone point me to the wiki and I will see if I have the rights to change it.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64436</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-07-25 21:21:40 +0000</bug_when>
    <thetext>Can you please give Scott some info for this item</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64440</commentid>
    <comment_count>7</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2016-07-25 21:30:20 +0000</bug_when>
    <thetext>https://wiki.yoctoproject.org/wiki/Poky-Tiny</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64540</commentid>
    <comment_count>8</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2016-07-27 17:03:47 +0000</bug_when>
    <thetext>This appears to be a documentation task.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64687</commentid>
    <comment_count>9</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-07-29 21:52:03 +0000</bug_when>
    <thetext>Hi, 

I checked out the wiki link and there is no mention of the runqemu script at all.  In the YP manual set, we have a section dedicated to the runqemu command at http://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#qemu-using-the-runqemu-command.  

I suspect we want to work in something about the using runqemu for poky-tiny.  

I don&apos;t really know where to fix this section.  In the section, there is a long list of runqemu options.  Should we have tiny in there (i.e. &quot;QEMUARCH&quot;, &quot;VM&quot;, and &quot;MACHINE&quot;)?

At the end of the section there are five examples of using runqemu.  Should we add a sixth that uses poky-tiny?

Regarding the wiki... not sure what is required on that.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64881</commentid>
    <comment_count>10</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-08-04 17:21:50 +0000</bug_when>
    <thetext>Back to Tom, to comment on Scott&apos;s request</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64901</commentid>
    <comment_count>11</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2016-08-04 19:41:50 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; Hi, 
&gt; 
&gt; I checked out the wiki link and there is no mention of the runqemu script at
&gt; all.  In the YP manual set, we have a section dedicated to the runqemu
&gt; command at
&gt; http://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#qemu-using-
&gt; the-runqemu-command.  
&gt; 
&gt; I suspect we want to work in something about the using runqemu for
&gt; poky-tiny.  
&gt; 
&gt; I don&apos;t really know where to fix this section.  In the section, there is a
&gt; long list of runqemu options.  Should we have tiny in there (i.e.
&gt; &quot;QEMUARCH&quot;, &quot;VM&quot;, and &quot;MACHINE&quot;)?
&gt; 
&gt; At the end of the section there are five examples of using runqemu.  Should
&gt; we add a sixth that uses poky-tiny?
&gt; 

Yeah, that would work.

&gt; Regarding the wiki... not sure what is required on that.
&gt; 

Don&apos;t worry about it - I just updated it.

&gt; Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64949</commentid>
    <comment_count>12</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-08-08 15:17:35 +0000</bug_when>
    <thetext>Tom, 

It looks like the wiki (https://wiki.yoctoproject.org/wiki/Poky-Tiny) is pretty complete on using runqemu to support running poky-tiny.  From reading it, it appears that all one has to do is set DISTRO to poky-tiny in the local.conf file as follows:

   DISTRO = &quot;&lt;layer-name&gt;-tiny&quot;

And then the user can run the following to run a qemux86 build and specify to boot an initial RAM disk image:

   runqemu qemux86 ramfs

Is that correct?  I can create another example that states you must set the DISTRO variable first (e.g. &quot;poky-tiny&quot; and then note the runqemu command.  I can also provide a link into the poky-Tiny wiki page for details.  

Will that suffice for the doc portion of this bug?

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65300</commentid>
    <comment_count>13</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2016-08-18 14:05:16 +0000</bug_when>
    <thetext>(In reply to comment #12)
&gt; Tom, 
&gt; 
&gt; It looks like the wiki (https://wiki.yoctoproject.org/wiki/Poky-Tiny) is
&gt; pretty complete on using runqemu to support running poky-tiny.  From reading
&gt; it, it appears that all one has to do is set DISTRO to poky-tiny in the
&gt; local.conf file as follows:
&gt; 
&gt;    DISTRO = &quot;&lt;layer-name&gt;-tiny&quot;
&gt; 

I don&apos;t know what &lt;layer-name&gt;-tiny means.

&gt; And then the user can run the following to run a qemux86 build and specify
&gt; to boot an initial RAM disk image:
&gt; 
&gt;    runqemu qemux86 ramfs
&gt; 
&gt; Is that correct?  I can create another example that states you must set the
&gt; DISTRO variable first (e.g. &quot;poky-tiny&quot; and then note the runqemu command. 
&gt; I can also provide a link into the poky-Tiny wiki page for details.  
&gt; 
&gt; Will that suffice for the doc portion of this bug?

The information on the wiki page should be correct.  I guess you should ask the originator of the bug as to what will suffice for the doc portion.

&gt; 
&gt; Thanks,
&gt; Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65420</commentid>
    <comment_count>14</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-08-22 22:06:25 +0000</bug_when>
    <thetext>Cristian, 

Can you look at the thread of comments here and give me some input?  

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66016</commentid>
    <comment_count>15</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2016-09-09 20:02:33 +0000</bug_when>
    <thetext>Assigning to Cristian since that&apos;s who NEEDINFO from.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67171</commentid>
    <comment_count>16</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-10-12 08:48:42 +0000</bug_when>
    <thetext>I tried:

$ runqemu tmp/deploy/images/qemux86/ ramfs

It works well for me. I will update poky-tiny.conf a little, so that we can boot it by:
$ runqemu tmp/deploy/images/qemux86/

Here is the patch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=rbt/tiny&amp;id=83e6d553413e6278b9ece0ca8f40eace9e52d0a2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67276</commentid>
    <comment_count>17</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-14 19:21:01 +0000</bug_when>
    <thetext>I ran out of time for this in 2.2.  I am putting it to 2.3 M1.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67317</commentid>
    <comment_count>18</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-10-18 01:39:51 +0000</bug_when>
    <thetext>Merged into morty branch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8bc037f751e66726bcfdad077a734450ba7fe258</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67363</commentid>
    <comment_count>19</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-19 15:03:58 +0000</bug_when>
    <thetext>Since the wiki is good on this, I am setting the doc flag to &quot;done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>