documentation: dev-manual - Updates to Git workflow and kernel patch

I updated the sections on the "Git Workflow" in Chapter 4 and
the "Patching the Kernel" section in Chapter 5 per Tom
Zanussi's review comments.  Minor technical changes.

(From yocto-docs rev: fd8a291349c06328adebd37f8a9bbeaa49adb44c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2012-10-22 09:02:52 -07:00
committed by Richard Purdie
parent dfeea177d3
commit 767b28ea55
2 changed files with 8 additions and 8 deletions

View File

@@ -1705,7 +1705,7 @@ directory.</para></listitem>
<literallayout class='monospaced'>
$ git init
$ git add *
$ git commit
$ git commit -m "initial revision"
</literallayout>
The above Git commands initialize a Git repository that is based on the
files in your current working directory, stage all the files, and commit
@@ -1762,9 +1762,9 @@ directory.</para></listitem>
Once the changes are committed, use the <filename>git format-patch</filename>
command to generate a patch file:
<literallayout class='monospaced'>
$ git format-patch HEAD~1
$ git format-patch -1
</literallayout>
The <filename>HEAD~1</filename> part of the command causes Git to generate the
Specifying "-1" causes Git to generate the
patch file for the most recent commit.</para>
<para>At this point, the patch file has all your edits made
to the <filename>file1.c</filename>, <filename>file2.c</filename>, and
@@ -1784,7 +1784,7 @@ directory.</para></listitem>
of the recipe.
Here is an example:
<literallayout class='monospaced'>
SRC_URI += "file://my_changes.patch"
SRC_URI += "file://0001-&lt;commit-summary-message&gt;.patch"
</literallayout></para></listitem>
<listitem><para><emphasis>Increment the Recipe Revision Number:</emphasis>
Finally, don't forget to 'bump' the