diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2017-10-20 13:04:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-30 15:55:08 +0000 |
commit | e08129f909aa514405345a1b46e80aaa88b1f08e (patch) | |
tree | 1337e9c8e64d30514e7284c94bdd500856632191 /documentation | |
parent | dd797966f23b4708fab5a4514ee74fb0dcb8bde2 (diff) | |
download | poky-e08129f909aa514405345a1b46e80aaa88b1f08e.tar.gz |
ref-manual: Updated "Build Image" section for do_image<type>[depends]
Added information about how the build system dynamically creates
do_image_* tasks (e.g. do_image_ext4[depends]) when creating the
image. This is functionality that replaced IMAGE_DEPENDS_type.
(From yocto-docs rev: c977df506585aad1ade99c390bacc04b54eb0e48)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-development-environment.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-development-environment.xml b/documentation/ref-manual/ref-development-environment.xml index e590406706..13399016b1 100644 --- a/documentation/ref-manual/ref-development-environment.xml +++ b/documentation/ref-manual/ref-development-environment.xml | |||
@@ -2255,6 +2255,22 @@ | |||
2255 | </para> | 2255 | </para> |
2256 | 2256 | ||
2257 | <para> | 2257 | <para> |
2258 | As an example, a dynamically created task when creating a | ||
2259 | particular image <replaceable>type</replaceable> would take the | ||
2260 | following form: | ||
2261 | <literallayout class='monospaced'> | ||
2262 | do_image_<replaceable>type</replaceable>[depends] | ||
2263 | </literallayout> | ||
2264 | So, if the <replaceable>type</replaceable> as specified by the | ||
2265 | <link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link> | ||
2266 | were <filename>ext4</filename>, the dynamically generated task | ||
2267 | would be as follows: | ||
2268 | <literallayout class='monospaced'> | ||
2269 | do_image_ext4[depends] | ||
2270 | </literallayout> | ||
2271 | </para> | ||
2272 | |||
2273 | <para> | ||
2258 | The final task involved in image creation is the | 2274 | The final task involved in image creation is the |
2259 | <link linkend='ref-tasks-image-complete'><filename>do_image_complete</filename></link> | 2275 | <link linkend='ref-tasks-image-complete'><filename>do_image_complete</filename></link> |
2260 | task. | 2276 | task. |