From 0b16a741f1627de788136328e725627294822ae7 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Tue, 11 Mar 2025 14:31:03 +0100 Subject: overview-manual: convert patching.png to svg - 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).- Reviewed-by: Quentin Schulz (From yocto-docs rev: 508d65d5eb1759caa926aa8a4634679647e2b121) Signed-off-by: Antonin Godard (cherry picked from commit 3aa3af6d5214b47555c4c2b16e9c720122e16fa4) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/overview-manual/concepts.rst | 2 +- documentation/overview-manual/figures/patching.png | Bin 57414 -> 0 bytes documentation/overview-manual/svg/patching.svg | 1224 ++++++++++++++++++++ 3 files changed, 1225 insertions(+), 1 deletion(-) delete mode 100644 documentation/overview-manual/figures/patching.png create mode 100644 documentation/overview-manual/svg/patching.svg (limited to 'documentation') diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index 4a0dccd6c0..9ea30b19b0 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst @@ -764,7 +764,7 @@ Patching Once source code is fetched and unpacked, BitBake locates patch files and applies them to the source files: -.. image:: figures/patching.png +.. image:: svg/patching.* :width: 100% The :ref:`ref-tasks-patch` task uses a diff --git a/documentation/overview-manual/figures/patching.png b/documentation/overview-manual/figures/patching.png deleted file mode 100644 index 80fba7e7cf..0000000000 Binary files a/documentation/overview-manual/figures/patching.png and /dev/null differ diff --git a/documentation/overview-manual/svg/patching.svg b/documentation/overview-manual/svg/patching.svg new file mode 100644 index 0000000000..b0de175a20 --- /dev/null +++ b/documentation/overview-manual/svg/patching.svg @@ -0,0 +1,1224 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BitBake + + + + + + + + + + + + + + LocalProjects + + + + SCMs(optional) + + + + + + + + + + + + + + Build Directory + UpstreamProjectReleases + + Patch application + Recipes + do_patch + 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 + SRC_URI = ".... \ <patch_file> \ ... \" + + + Patch files + *.patch*.diff + Source Mirror(s) + + + + + + + + -- cgit v1.2.3-54-g00ecf