summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-11-09 14:21:05 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-22 12:20:52 +0000
commit40433a02299a99e63ff552fbb713fa5616ac50d0 (patch)
tree510afad6bf83798119fb1d8ec8311e8433d6baa8
parent506bbde78309b90d52b64d1d6e7e265e1bae73ea (diff)
downloadpoky-40433a02299a99e63ff552fbb713fa5616ac50d0.tar.gz
ref-manual: Updated postinstall migration note.
(From yocto-docs rev: fa6582df36d770e7207e4c5201dafe0e64f46a76) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/migration.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml
index 8082a5499e..7a98b821c7 100644
--- a/documentation/ref-manual/migration.xml
+++ b/documentation/ref-manual/migration.xml
@@ -6192,8 +6192,14 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
6192 6192
6193 <para> 6193 <para>
6194 You must explicitly mark post installs to defer to the target. 6194 You must explicitly mark post installs to defer to the target.
6195 Warnings in the previous Yocto Project releases have become 6195 If you want to explicitly defer a postinstall to first boot on
6196 errors. 6196 the target rather than at rootfs creation time, use
6197 <filename>pkg_postinst_ontarget()</filename> or call
6198 <filename>postinst-intercepts defer_to_first_boot</filename> from
6199 <filename>pkg_postinst()</filename>.
6200 Any failure of a <filename>pkg_postinst()</filename> script
6201 (including exit 1) triggers an error during the
6202 <link linkend='ref-tasks-rootfs'><filename>do_rootfs</filename></link> task.
6197 </para> 6203 </para>
6198 </section> 6204 </section>
6199 6205