diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-04-24 05:19:07 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-01 21:00:26 +0100 |
| commit | 142de43be2acbd66784eee2d477bce636460002c (patch) | |
| tree | 2d6bbc8690750c7dd023397c8c15df0235a9144b /documentation | |
| parent | 752c707df376fa5bf9898fccf1f7b7929d829dda (diff) | |
| download | poky-142de43be2acbd66784eee2d477bce636460002c.tar.gz | |
documentation/dev-manual/dev-manual-common-tasks.xml: Fix cusomizing example
As suggested by Paul Eggleton and Richard Purdie, the example that
describes another method for creating a cusomt image was modified
so that it is based on an existing recipe instead of requiring a
new image.
Reported-by: Paul Eggleton <paul.eggleton@linux.intel.com>
(From yocto-docs rev: b5b32be9087c3d1c8e8d97751ce2cce09829f23b)
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/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> |
