summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-01-28 13:14:19 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-30 14:10:03 +0000
commit5174240361acc138cb7b39fa5d84bfbce4fbcce1 (patch)
tree80a3a606d06a0c6264962bebda35db61c364e120 /documentation
parent46dcd9fd73cbefd62f386e6dad98bd7f28556f98 (diff)
downloadast2050-yocto-poky-5174240361acc138cb7b39fa5d84bfbce4fbcce1.zip
ast2050-yocto-poky-5174240361acc138cb7b39fa5d84bfbce4fbcce1.tar.gz
kernel-dev: Added "-dirty String" section.
The "-dirty" String section from the old YP Kernel Architecture and Use Manual was moved to section 2.3 of the manual. It needs to find the right area to be put in (AR for Darren). I added the AR text to the top of the section so it would not fall through the cracks. (From yocto-docs rev: eaa5b86643572a6c74028dc3330625a0bfbca50e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/kernel-dev/kernel-dev-common.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml
index 235bc41..373a3fe 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -217,6 +217,49 @@
"linux-yocto".
</para>
+ <section id='tip-dirty-string'>
+ <title>"-dirty" String</title>
+
+ <para>
+ <emphasis>AR - Darrren Hart:</emphasis> This section
+ originated from the old Yocto Project Kernel Architecture
+ and Use Manual.
+ It was decided we need to put it in this section here.
+ Darren needs to figure out where we want it and what part
+ of it we want (all, revision???)
+ </para>
+
+ <para>
+ If kernel images are being built with "-dirty" on the
+ end of the version string, this simply means that
+ modifications in the source directory have not been committed.
+ <literallayout class='monospaced'>
+ $ git status
+ </literallayout>
+ </para>
+
+ <para>
+ You can use the above Git command to report modified,
+ removed, or added files.
+ You should commit those changes to the tree regardless of
+ whether they will be saved, exported, or used.
+ Once you commit the changes, you need to rebuild the kernel.
+ </para>
+
+ <para>
+ To force a pickup and commit of all such pending changes,
+ enter the following:
+ <literallayout class='monospaced'>
+ $ git add .
+ $ git commit -s -a -m "getting rid of -dirty"
+ </literallayout>
+ </para>
+
+ <para>
+ Next, rebuild the kernel.
+ </para>
+ </section>
+
<section id='generating-configuration-files'>
<title>Generating Configuration Files</title>
OpenPOWER on IntegriCloud