diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/migration.xml | 10 |
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 | ||