From 40433a02299a99e63ff552fbb713fa5616ac50d0 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 9 Nov 2018 14:21:05 -0800 Subject: ref-manual: Updated postinstall migration note. (From yocto-docs rev: fa6582df36d770e7207e4c5201dafe0e64f46a76) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/migration.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'documentation/ref-manual/migration.xml') 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. 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 + pkg_postinst_ontarget() or call + postinst-intercepts defer_to_first_boot from + pkg_postinst(). + Any failure of a pkg_postinst() script + (including exit 1) triggers an error during the + do_rootfs task. -- cgit v1.2.3-54-g00ecf