diff options
Diffstat (limited to 'documentation/poky-ref-manual')
-rw-r--r-- | documentation/poky-ref-manual/ref-structure.xml | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/documentation/poky-ref-manual/ref-structure.xml b/documentation/poky-ref-manual/ref-structure.xml index 8f705537c4..2db58ddaef 100644 --- a/documentation/poky-ref-manual/ref-structure.xml +++ b/documentation/poky-ref-manual/ref-structure.xml | |||
@@ -329,14 +329,27 @@ | |||
329 | This directory receives complete filesystem images. | 329 | This directory receives complete filesystem images. |
330 | If you want to flash the resulting image from a build onto a device, look here for the image. | 330 | If you want to flash the resulting image from a build onto a device, look here for the image. |
331 | </para> | 331 | </para> |
332 | 332 | ||
333 | <para> | ||
334 | Be careful when deleting files in this directory. | ||
335 | You can safely delete old images from this directory (e.g. | ||
336 | <filename>core-image-*</filename>, <filename>hob-image-*</filename>, | ||
337 | etc.). | ||
338 | However, the kernel (<filename>*zImage*</filename>, <filename>*uImage*</filename>, etc.), | ||
339 | bootloader and other supplementary files might be deployed here prior to building an | ||
340 | image. | ||
341 | Because these files, however, are not directly produced from the image, if you | ||
342 | delete them they will not be automatically re-created when you build the image again. | ||
343 | </para> | ||
344 | |||
333 | <para> | 345 | <para> |
334 | Note, you should not remove any files from this directory by hand in an attempt | 346 | If you do accidentally delete files here, you will need to force them to be |
335 | to rebuild an image. | 347 | re-created. |
336 | If you want to clean out the cache, re-run the build using the following | 348 | In order to do that, you will need to know the target that produced them. |
337 | BitBake command: | 349 | For example, these commands rebuild and re-create the kernel files: |
338 | <literallayout class='monospaced'> | 350 | <literallayout class='monospaced'> |
339 | $ bitbake -c cleanall <target> | 351 | $ bitbake -c clean virtual/kernel |
352 | $ bitbake virtual/kernel | ||
340 | </literallayout> | 353 | </literallayout> |
341 | </para> | 354 | </para> |
342 | </section> | 355 | </section> |