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)
downloadpoky-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 235bc41525..373a3fe936 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -217,6 +217,49 @@
217 "linux-yocto". 217 "linux-yocto".
218 </para> 218 </para>
219 219
220 <section id='tip-dirty-string'>
221 <title>"-dirty" String</title>
222
223 <para>
224 <emphasis>AR - Darrren Hart:</emphasis> This section
225 originated from the old Yocto Project Kernel Architecture
226 and Use Manual.
227 It was decided we need to put it in this section here.
228 Darren needs to figure out where we want it and what part
229 of it we want (all, revision???)
230 </para>
231
232 <para>
233 If kernel images are being built with "-dirty" on the
234 end of the version string, this simply means that
235 modifications in the source directory have not been committed.
236 <literallayout class='monospaced'>
237 $ git status
238 </literallayout>
239 </para>
240
241 <para>
242 You can use the above Git command to report modified,
243 removed, or added files.
244 You should commit those changes to the tree regardless of
245 whether they will be saved, exported, or used.
246 Once you commit the changes, you need to rebuild the kernel.
247 </para>
248
249 <para>
250 To force a pickup and commit of all such pending changes,
251 enter the following:
252 <literallayout class='monospaced'>
253 $ git add .
254 $ git commit -s -a -m "getting rid of -dirty"
255 </literallayout>
256 </para>
257
258 <para>
259 Next, rebuild the kernel.
260 </para>
261 </section>
262
220 <section id='generating-configuration-files'> 263 <section id='generating-configuration-files'>
221 <title>Generating Configuration Files</title> 264 <title>Generating Configuration Files</title>
222 265