diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index 55669cd3f6..5c6af847e5 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) + + + + + + + +