diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 971a63655e..8dfaa7b0fb 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
| @@ -477,12 +477,12 @@ | |||
| 477 | </para> | 477 | </para> |
| 478 | 478 | ||
| 479 | <para> | 479 | <para> |
| 480 | The other method for creating a custom image is to modify an existing image. | 480 | The other method for creating a custom image is to base it on an existing image. |
| 481 | For example, if a developer wants to add <filename>strace</filename> into | 481 | For example, if you want to create an image based on <filename>core-image-sato</filename> |
| 482 | the <filename>core-image-sato</filename> image, they can use the following recipe: | 482 | but add the additional package <filename>strace</filename> to the image, |
| 483 | copy the <filename>meta/recipes-sato/images/core-image-sato.bb</filename> to a | ||
| 484 | new <filename>.bb</filename> and add the following line to the end of the copy: | ||
| 483 | <literallayout class='monospaced'> | 485 | <literallayout class='monospaced'> |
| 484 | require core-image-sato.bb | ||
| 485 | |||
| 486 | IMAGE_INSTALL += "strace" | 486 | IMAGE_INSTALL += "strace" |
| 487 | </literallayout> | 487 | </literallayout> |
| 488 | </para> | 488 | </para> |
