<?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>9124</bug_id>
          
          <creation_ts>2016-02-16 16:49:04 +0000</creation_ts>
          <short_desc>Location of kernel sources is incorrect</short_desc>
          <delta_ts>2016-06-17 17:32:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Kernel Development</product>
          <component>kernel-development</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.yoctoproject.org/docs/2.2/kernel-dev/kernel-dev.html#modifying-source-code</bug_file_loc>
          <status_whiteboard>6 June 2016: Applied documentation changes.</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Geoffroy Van Cutsem">geoffroy.vancutsem</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>dvhart</cc>
    
    <cc>jose.perez.carranza</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>59114</commentid>
    <comment_count>0</comment_count>
    <who name="Geoffroy Van Cutsem">geoffroy.vancutsem</who>
    <bug_when>2016-02-16 16:49:04 +0000</bug_when>
    <thetext>The documentation on how to modify the kernel source code gives an incorrect location of where to find the kernel sources:
 You can find the sources in the ${WORKDIR}/linux directory.

There is no such ${WORKDIR}/linux. On my system, I found the kernel sources (but no .config file, is this expected?) under ${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build/source (which is a symlink to another folder).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59115</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-02-16 17:09:31 +0000</bug_when>
    <thetext>Hi, 

I am adding Darren to this bug...

Darren, can you look at the http://www.yoctoproject.org/docs/2.0/kernel-dev/kernel-dev.html#modifying-source-code section of the kernel-dev manual and comment?

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59693</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-03-03 17:38:25 +0000</bug_when>
    <thetext>Setting to NEEDINFO.  I need input on this bug for the docs.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60502</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2016-03-29 18:30:41 +0000</bug_when>
    <thetext>Assigned to Darren to get the NEEDINFO.  Darren, if you are not the right person to provide that, please assign to someone on the kernel team.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61106</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-04-12 18:19:00 +0000</bug_when>
    <thetext>Setting to 2.2.... Not going to get the time to get this in before doc freeze.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61684</commentid>
    <comment_count>5</comment_count>
    <who name="Geoffroy Van Cutsem">geoffroy.vancutsem</who>
    <bug_when>2016-04-26 09:32:42 +0000</bug_when>
    <thetext>I understand many of us are really busy but it feels awkward that no-one has been able to confirm whether the path I mentionned in my initial report is correct or not, this after close to 2 months.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61721</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-04-27 14:18:34 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; I understand many of us are really busy but it feels awkward that no-one has
&gt; been able to confirm whether the path I mentionned in my initial report is
&gt; correct or not, this after close to 2 months.

Sorry for the delay, you are correct, the source actually moved a couple of releases ago to the work-shared area, thus the symlink you mentioned above.

So the sources are in  ${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build/source which points to tmp/work-shared/${MACHINE}/kernel-source (which is ${STAGING_KERNEL_DIR}).  The .config once generated via the kernel_configme task is in ${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build/.config

I need to work with ScottR to update that section as at this point the devtool would be a good item to mention also.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61733</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-04-27 16:04:10 +0000</bug_when>
    <thetext>Yes, 

We need to look at that section referenced in Comment 1 and move forward with the docs for the 2.1+ stuff.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61903</commentid>
    <comment_count>8</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2016-05-03 17:02:20 +0000</bug_when>
    <thetext>Fix posted to yocto list:

https://lists.yoctoproject.org/pipermail/yocto/2016-May/029916.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62680</commentid>
    <comment_count>9</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-06-06 20:33:59 +0000</bug_when>
    <thetext>Here are the affected sections with corrections:

 * http://www.yoctoproject.org/docs/2.2/kernel-dev/kernel-dev.html#generating-configuration-files 
 * http://www.yoctoproject.org/docs/2.2/kernel-dev/kernel-dev.html#modifying-source-code

Once these are okay&apos;d you can turn the doc flag off.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62720</commentid>
    <comment_count>10</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2016-06-07 20:29:59 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=a4f92870e70cb625f2987a59aff3f460457b4889</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62737</commentid>
    <comment_count>11</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-06-07 23:03:00 +0000</bug_when>
    <thetext>Turning Doc flag off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63118</commentid>
    <comment_count>12</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-06-17 17:32:09 +0000</bug_when>
    <thetext>Documentation was updated successfully</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>