1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

ref-manual: Applied review changes to the do_deploy task.

Cleared up the last third of the description with better structure
and wording.

Fixes [YOCTO #9970]

(From yocto-docs rev: a2dbea4f3bbdddd72c86a5ade86ac822cd9bfecd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2016-07-19 11:37:00 -07:00
committed by Richard Purdie
parent c9e3815b2e
commit 7c5a147141
+19 -12
View File
@@ -158,22 +158,29 @@
</para> </para>
<para> <para>
The <filename>do_deploy</filename> task is not added as a task by The <filename>do_deploy</filename> task is not added as a task
default and needs to be added manually. by default and consequently needs to be added manually.
You can add this task using the following: If you want the task to run after
<link linkend='ref-tasks-compile'><filename>do_compile</filename></link>,
you can add it by doing the following:
<literallayout class='monospaced'> <literallayout class='monospaced'>
addtask deploy after do_compile addtask deploy after do_compile
</literallayout> </literallayout>
If the <filename>do_deploy</filename> should run some time after Adding <filename>do_deploy</filename> after other tasks works the
the <filename>do_compile</filename>, the same way.
<filename>base.bbclass</filename> has the following to ensure that <note>
all <filename>do_deploy</filename> tasks run by default. You do not need to add <filename>before do_build</filename>
See the to the <filename>addtask</filename> command (though it is
"<ulink url='&YOCTO_DOCS_BB_URL;#dependencies'>Dependencies</ulink>" harmless), because the
section in the BitBake User Manual for more information. <link linkend='ref-classes-base'><filename>base</filename></link>
<literallayout class='monospaced'> class contains the following:
<literallayout class='monospaced'>
do_build[recrdeptask] += "do_deploy" do_build[recrdeptask] += "do_deploy"
</literallayout> </literallayout>
See the
"<ulink url='&YOCTO_DOCS_BB_URL;#dependencies'>Dependencies</ulink>"
section in the BitBake User Manual for more information.
</note>
</para> </para>
<para> <para>