[oe-commits] [openembedded-core] 05/68: lib/oe/patch: Support xz-compressed patches
git at git.openembedded.org
git at git.openembedded.org
Thu Feb 23 20:50:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit f50fd7f247d5bb05bc7d1109c574a682067688da
Author: Dominic Sacré <dominic.sacre at gmx.de>
AuthorDate: Wed Feb 15 11:44:49 2017 +0100
lib/oe/patch: Support xz-compressed patches
Add .xz to the list of extensions recognized by patch_path(), so that
compressed patches ending in .patch.xz or .diff.xz are automatically
applied.
(From OE-Core rev: f1a2c45765d14d3ca09657ad1f6b526554af2bb6)
Signed-off-by: Dominic Sacré <dominic.sacre at gmx.de>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oe/patch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index 95674b3..aaa2d3a 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -776,7 +776,7 @@ def patch_path(url, fetch, workdir, expand=True):
local = fetch.localpath(url)
base, ext = os.path.splitext(os.path.basename(local))
- if ext in ('.gz', '.bz2', '.Z'):
+ if ext in ('.gz', '.bz2', '.xz', '.Z'):
if expand:
local = os.path.join(workdir, base)
ext = os.path.splitext(base)[1]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list