From 06c124b02dcf792a479ce0d3ee5befa0deb7be47 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 19 Aug 2013 17:16:16 +0300 Subject: ref-manual: New section on patching for expanded build process Fixes [YOCTO #2808] Added a new sub-section to the BitBake section that takes a closer look at the build process. Part of the requirements was a new figure that had to be added to both the ref-manual and the mega-manual figures directories. (From yocto-docs rev: c40476b079cf5765b8228502f0ef33072f8b2b85) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/mega-manual/figures/patching.png | Bin 0 -> 40515 bytes documentation/ref-manual/figures/patching.png | Bin 0 -> 40515 bytes documentation/ref-manual/technical-details.xml | 35 +++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 documentation/mega-manual/figures/patching.png create mode 100644 documentation/ref-manual/figures/patching.png (limited to 'documentation') diff --git a/documentation/mega-manual/figures/patching.png b/documentation/mega-manual/figures/patching.png new file mode 100644 index 0000000000..a26a082bee Binary files /dev/null and b/documentation/mega-manual/figures/patching.png differ diff --git a/documentation/ref-manual/figures/patching.png b/documentation/ref-manual/figures/patching.png new file mode 100644 index 0000000000..a26a082bee Binary files /dev/null and b/documentation/ref-manual/figures/patching.png differ diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index a3dd6f0cb0..5ee2615e5c 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -1031,6 +1031,41 @@ building goes on for a given recipe. + +
+ Patching + + + Once source code is fetched and unpacked, BitBake locates + patch files and applies them to the source files: + + + + + The do_patch task processes recipes by + using the + SRC_URI + variable to locate applicable patch files, which by default + are *.patch or + *.diff files, or any file if + "apply=yes" is specified for the file in + SRC_URI. + + + + BitBake finds and applies multiple patches for a single recipe + in the order in which it finds the patches. + Patches are applied to the recipe's source files located in the + S directory. + + + + For more information on how the source directories are + created, see the + "Source Fetching" + section. + +
-- cgit v1.2.3-54-g00ecf