From c3d154813b4f8ed573750263ffdc79a15c646c9e Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Thu, 23 May 2024 15:39:27 +0200 Subject: ref-manual: introduce UNPACKDIR variable Note that this doesn't touch the "Source Fetching" section in overview-manual/concepts.rst yet, as the unpack implementation may not be finalized yet. (From yocto-docs rev: 2c892663c3e2d72493ee29898e99335a1e45c01f) Signed-off-by: Michael Opdenacker Reviewed-by: Andrew Murray Signed-off-by: Richard Purdie --- documentation/ref-manual/tasks.rst | 9 ++++----- documentation/ref-manual/variables.rst | 5 +++++ 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/tasks.rst b/documentation/ref-manual/tasks.rst index 2e4b23408d..df751d75a3 100644 --- a/documentation/ref-manual/tasks.rst +++ b/documentation/ref-manual/tasks.rst @@ -412,12 +412,11 @@ them. You can learn more by looking at the ------------- Unpacks the source code into a working directory pointed to by -``${``\ :term:`WORKDIR`\ ``}``. The :term:`S` -variable also plays a role in where unpacked source files ultimately -reside. For more information on how source files are unpacked, see the +``${``\ :term:`UNPACKDIR`\ ``}``. A legacy way to specify +this directory is through the :term:`S` and :term:`WORKDIR` variables. +For more information on how source files are unpacked, see the ":ref:`overview-manual/concepts:source fetching`" -section in the Yocto Project Overview and Concepts Manual and also see -the :term:`WORKDIR` and :term:`S` variable descriptions. +section in the Yocto Project Overview and Concepts Manual. Manually Called Tasks ===================== diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 546c674699..07b5b6f95c 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9698,6 +9698,11 @@ system and gives an overview of their function and contents. :ref:`ref-classes-insane` class and is only enabled if the recipe inherits the :ref:`ref-classes-autotools` class. + :term:`UNPACKDIR` + This variable, used by the :ref:`ref-classes-base` class, + specifies where fetches sources should be unpacked by the + :ref:`ref-tasks-unpack` task. + :term:`UPDATERCPN` For recipes inheriting the :ref:`ref-classes-update-rc.d` class, :term:`UPDATERCPN` -- cgit v1.2.3-54-g00ecf