summaryrefslogtreecommitdiffstats
path: root/documentation/migration-guides
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-09-23 19:36:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-07 10:54:26 +0100
commit40b77252122884b8395d59648147a93f2d0e33d9 (patch)
tree36432316236f203c17aefce0e2dace6adca0012a /documentation/migration-guides
parentb42af6aa4a5c64f80091d9445b79e2565515854c (diff)
downloadpoky-40b77252122884b8395d59648147a93f2d0e33d9.tar.gz
manuals: add references to the "do_rootfs" task
[YOCTO #14508] Reported-by: Quentin Schulz <foss@0leil.net> (From yocto-docs rev: 926c836e5184243fb1aee113962e11c01f0297ee) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/migration-guides')
-rw-r--r--documentation/migration-guides/migration-2.1.rst8
-rw-r--r--documentation/migration-guides/migration-2.5.rst2
2 files changed, 5 insertions, 5 deletions
diff --git a/documentation/migration-guides/migration-2.1.rst b/documentation/migration-guides/migration-2.1.rst
index bfc600ccca..c19ba5501c 100644
--- a/documentation/migration-guides/migration-2.1.rst
+++ b/documentation/migration-guides/migration-2.1.rst
@@ -128,12 +128,12 @@ separate :ref:`ref-tasks-image` tasks for clarity both in
128operation and in the code. 128operation and in the code.
129 129
130For most cases, this change does not present any problems. However, if 130For most cases, this change does not present any problems. However, if
131you have made customizations that directly modify the ``do_rootfs`` task 131you have made customizations that directly modify the :ref:`ref-tasks-rootfs` task
132or that mention ``do_rootfs``, you might need to update those changes. 132or that mention :ref:`ref-tasks-rootfs`, you might need to update those changes.
133In particular, if you had added any tasks after ``do_rootfs``, you 133In particular, if you had added any tasks after :ref:`ref-tasks-rootfs`, you
134should make edits so that those tasks are after the 134should make edits so that those tasks are after the
135:ref:`ref-tasks-image-complete` task rather than 135:ref:`ref-tasks-image-complete` task rather than
136after ``do_rootfs`` so that your added tasks run at the correct 136after :ref:`ref-tasks-rootfs` so that your added tasks run at the correct
137time. 137time.
138 138
139A minor part of this restructuring is that the post-processing 139A minor part of this restructuring is that the post-processing
diff --git a/documentation/migration-guides/migration-2.5.rst b/documentation/migration-guides/migration-2.5.rst
index abd26809df..04f4cd7e73 100644
--- a/documentation/migration-guides/migration-2.5.rst
+++ b/documentation/migration-guides/migration-2.5.rst
@@ -261,7 +261,7 @@ The following are additional changes:
261 ``pkg_postinst_ontarget()`` or call 261 ``pkg_postinst_ontarget()`` or call
262 ``postinst_intercept delay_to_first_boot`` from ``pkg_postinst()``. 262 ``postinst_intercept delay_to_first_boot`` from ``pkg_postinst()``.
263 Any failure of a ``pkg_postinst()`` script (including ``exit 1``) 263 Any failure of a ``pkg_postinst()`` script (including ``exit 1``)
264 will trigger a warning during ``do_rootfs``. 264 will trigger a warning during :ref:`ref-tasks-rootfs`.
265 265
266 For more information, see the 266 For more information, see the
267 ":ref:`dev-manual/common-tasks:post-installation scripts`" 267 ":ref:`dev-manual/common-tasks:post-installation scripts`"