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>
This commit is contained in:
Scott Rifenbark
2017-10-20 13:04:14 -07:00
committed by Richard Purdie
parent dd797966f2
commit e08129f909

View File

@@ -2254,6 +2254,22 @@
variable.
</para>
<para>
As an example, a dynamically created task when creating a
particular image <replaceable>type</replaceable> would take the
following form:
<literallayout class='monospaced'>
do_image_<replaceable>type</replaceable>[depends]
</literallayout>
So, if the <replaceable>type</replaceable> as specified by the
<link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link>
were <filename>ext4</filename>, the dynamically generated task
would be as follows:
<literallayout class='monospaced'>
do_image_ext4[depends]
</literallayout>
</para>
<para>
The final task involved in image creation is the
<link linkend='ref-tasks-image-complete'><filename>do_image_complete</filename></link>