diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-09-23 19:36:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-07 10:54:26 +0100 |
commit | 40b77252122884b8395d59648147a93f2d0e33d9 (patch) | |
tree | 36432316236f203c17aefce0e2dace6adca0012a /documentation/migration-guides | |
parent | b42af6aa4a5c64f80091d9445b79e2565515854c (diff) | |
download | poky-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.rst | 8 | ||||
-rw-r--r-- | documentation/migration-guides/migration-2.5.rst | 2 |
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 | |||
128 | operation and in the code. | 128 | operation and in the code. |
129 | 129 | ||
130 | For most cases, this change does not present any problems. However, if | 130 | For most cases, this change does not present any problems. However, if |
131 | you have made customizations that directly modify the ``do_rootfs`` task | 131 | you have made customizations that directly modify the :ref:`ref-tasks-rootfs` task |
132 | or that mention ``do_rootfs``, you might need to update those changes. | 132 | or that mention :ref:`ref-tasks-rootfs`, you might need to update those changes. |
133 | In particular, if you had added any tasks after ``do_rootfs``, you | 133 | In particular, if you had added any tasks after :ref:`ref-tasks-rootfs`, you |
134 | should make edits so that those tasks are after the | 134 | should 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 |
136 | after ``do_rootfs`` so that your added tasks run at the correct | 136 | after :ref:`ref-tasks-rootfs` so that your added tasks run at the correct |
137 | time. | 137 | time. |
138 | 138 | ||
139 | A minor part of this restructuring is that the post-processing | 139 | A 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`" |