1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

ref-manual: Updated postinstall migration note.

(From yocto-docs rev: beb7286abdfa2a6f9cc1772429671250a52d6425)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-11-09 14:21:05 -08:00
committed by Richard Purdie
parent 339d7d2bd6
commit 44d52d9c72
+8 -2
View File
@@ -6192,8 +6192,14 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
<para> <para>
You must explicitly mark post installs to defer to the target. You must explicitly mark post installs to defer to the target.
Warnings in the previous Yocto Project releases have become If you want to explicitly defer a postinstall to first boot on
errors. the target rather than at rootfs creation time, use
<filename>pkg_postinst_ontarget()</filename> or call
<filename>postinst-intercepts defer_to_first_boot</filename> from
<filename>pkg_postinst()</filename>.
Any failure of a <filename>pkg_postinst()</filename> script
(including exit 1) triggers an error during the
<link linkend='ref-tasks-rootfs'><filename>do_rootfs</filename></link> task.
</para> </para>
</section> </section>