summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-11-09 14:21:05 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-27 22:54:54 +0000
commit44d52d9c7253185aae8563e1e61fcbe74f1b6488 (patch)
tree7feb0204eec5a09959cf4533b0e76ce612cb9778 /documentation
parent339d7d2bd69e5fe56af24b933fdada463153270c (diff)
downloadpoky-44d52d9c7253185aae8563e1e61fcbe74f1b6488.tar.gz
poky-44d52d9c7253185aae8563e1e61fcbe74f1b6488.tar.bz2
poky-44d52d9c7253185aae8563e1e61fcbe74f1b6488.zip
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>
Diffstat (limited to 'documentation')
-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>.
<para>
You must explicitly mark post installs to defer to the target.
- Warnings in the previous Yocto Project releases have become
- errors.
+ If you want to explicitly defer a postinstall to first boot on
+ 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>
</section>