]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit - meta/lib/oe/patch.py
lib/oe/patch: fix PATCHTOOL = "git" with source in a subdirectory
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 19 Feb 2015 16:39:51 +0000 (16:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Feb 2015 08:08:19 +0000 (08:08 +0000)
commitd820303f64ea610338ec11ffd79269e7831d1da9
tree13d578d5477e10c28991104da412a70c16c8772b
parent4b4f2d4f2869d6d5d564cc1b2d733f41ab5a3b9b
lib/oe/patch: fix PATCHTOOL = "git" with source in a subdirectory

For recipes that have their actual source in a subdirectory of what is
fetched (e.g. mkelfimage), we need to find the root of the repository
within the GitApplyTree code that attempts to set up the required git
hooks and use that, rather than expecting the root to be the same as
${S}.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/patch.py