<?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>12517</bug_id>
          
          <creation_ts>2018-01-29 20:43:13 +0000</creation_ts>
          <short_desc>Update documentation on gen-tapdevs script</short_desc>
          <delta_ts>2018-05-15 10:29:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>General Docs</product>
          <component>docs-general</component>
          <version>2.2</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>15 May 2018: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stephano Cetola">stephano</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>juro.bystricky</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>srifenbark</cc>
          
          
          <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>79265</commentid>
    <comment_count>0</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2018-01-29 20:43:13 +0000</bug_when>
    <thetext>See Bug 12125 for details.

runqemu-gen-tapdevs requires qemu-helper-native to have already been built, and this is not mentioned anywhere. 

Also, sudo will break this script if you do not run it with an absolute path.

I will word this appropriately and reassign when finished.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79267</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2018-01-29 22:06:46 +0000</bug_when>
    <thetext>and also the help message should not assume/display UID/GID=1000/1000 but display the actual UID/GID.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80582</commentid>
    <comment_count>2</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2018-05-15 10:02:26 +0000</bug_when>
    <thetext>Scott,

Please change the following text in the mega-manual:

Run as root the script in scripts/runqemu-gen-tapdevs, which should generate a list of tap devices. This is the option typically chosen for Autobuilder-type environments.

We need to add to bullet points:

--Be sure to use an absolute path when calling this script with sudo.
--The package recipe `qemu-helper-native` is required to run this script. Build it with `bitbake qemu-helper-native`.

Let me know if you have any questions. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80583</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2018-05-15 10:17:28 +0000</bug_when>
    <thetext>Stephano, 

See https://www.yoctoproject.org/docs/2.5/dev-manual/dev-manual.html#qemu-image-enabling-tests and let me know if this is good.  There was no change in what you had for that first paragraph and what was already in the manual. 

I added the two bullet points in a note.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80584</commentid>
    <comment_count>4</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2018-05-15 10:24:43 +0000</bug_when>
    <thetext>Looks perfect, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80585</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2018-05-15 10:29:48 +0000</bug_when>
    <thetext>Thanks, 

I set the doc flag to &quot;done&quot; as well.

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>