diff options
-rw-r--r-- | documentation/kernel-dev/kernel-dev-common.xml | 43 |
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 | ||