From 8f152ba3ce18259318a56d80ae963b25d057c9b5 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Tue, 11 Mar 2025 14:31:02 +0100 Subject: overview-manual: convert source-fetching.png to svg and fix UNPACKDIR - Convert the png file to an SVG file. - Add the new UNPACKDIR directory to the image. - Remove ${PR} from WORKDIR value, after cc83e4548465 ("bitbake.conf: Drop PE and PR from WORKDIR and STAMP") on OE-Core. - Change S value to BP (equal to ${BPN}-${PV}, but more accurate).- This fixes [YOCTO #15730]. Reviewed-by: Quentin Schulz (From yocto-docs rev: 404a0fb167402e13d3a4ce5aba23aa22a78a0c06) Signed-off-by: Antonin Godard (cherry picked from commit 27725e4e7bf4d5fe7ad222de077cc693b9205b17) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/overview-manual/concepts.rst | 2 +- .../overview-manual/figures/source-fetching.png | Bin 46896 -> 0 bytes .../overview-manual/svg/source-fetching.svg | 1094 ++++++++++++++++++++ 3 files changed, 1095 insertions(+), 1 deletion(-) delete mode 100644 documentation/overview-manual/figures/source-fetching.png create mode 100644 documentation/overview-manual/svg/source-fetching.svg (limited to 'documentation') diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index 70766559f8..4a0dccd6c0 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst @@ -683,7 +683,7 @@ Source Fetching The first stages of building a recipe are to fetch and unpack the source code: -.. image:: figures/source-fetching.png +.. image:: svg/source-fetching.* :width: 100% The :ref:`ref-tasks-fetch` and :ref:`ref-tasks-unpack` tasks fetch diff --git a/documentation/overview-manual/figures/source-fetching.png b/documentation/overview-manual/figures/source-fetching.png deleted file mode 100644 index bf5e187b2b..0000000000 Binary files a/documentation/overview-manual/figures/source-fetching.png and /dev/null differ diff --git a/documentation/overview-manual/svg/source-fetching.svg b/documentation/overview-manual/svg/source-fetching.svg new file mode 100644 index 0000000000..b7bab32773 --- /dev/null +++ b/documentation/overview-manual/svg/source-fetching.svg @@ -0,0 +1,1094 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BitBake + + + + + + + + + + + + + LocalProjects + + + + SCMs(optional) + + + + + + + + + + + + + + Build Directory + UpstreamProjectReleases + + + Source Fetching + do_fetch + tmp <──────────────────────────────────────────── TMPDIR work ${PACKAGE_ARCH}-poky-${TARGET_OS} ${PN} ${PV} <────────────────────────────────── WORKDIR sources-unpack <─────────────────────── UNPACKDIR ${BP} <──────────────────────────────── S ${MACHINE}-poky-${TARGET_OS} ${PN} ${PV} <────────────────────────────────── WORKDIR sources-unpack <─────────────────────── UNPACKDIR ${BP} <──────────────────────────────── S + do_unpack + Source Mirror(s) + + + + + -- cgit v1.2.3-54-g00ecf