generic-poky/meta/lib/oe
Paul Eggleton 55a157f4e6 devtool: update-recipe: fix handling of compressed local patches
It is possible to use gzip or bzip2 to compress patches and still refer
to them in compressed form in the SRC_URI value within a recipe. If you
run "devtool modify" on such a recipe, make changes to the commit for
the patch and then run devtool update-recipe, we need to correctly
associate the commit back to the compressed patch file and re-compress
the patch, neither of which we were doing previously.

Additionally, add an oe-selftest test to ensure this doesn't regress in
future.

Fixes [YOCTO #8278].

(From OE-Core rev: e47d21624dfec6f71742b837e91da553f18a28c5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-23 11:10:13 +00:00
..
tests lib/oe/qa: add ELF machine to string function 2016-10-11 22:19:21 +01:00
__init__.py lib/oe: turn oe into a namespace package 2014-03-17 14:01:41 +00:00
buildhistory_analysis.py buildhistory-diff: reduce PKGR noise 2016-07-21 07:47:52 +01:00
cachedpath.py cachedpath.py: global name 'error' is not defined 2013-05-15 19:27:11 +03:00
classextend.py lib/classextend: Fix determinism issue 2016-05-11 10:33:42 +01:00
classutils.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
copy_buildsystem.py oe/copy_buildsystem.py: dereference symlink 2016-11-06 23:35:32 +00:00
data.py classes/lib: Update to match python3 iter requirements 2016-06-02 08:24:00 +01:00
distro_check.py distro_check: MeeGo is long dead, compare against Clear Linux instead 2016-11-15 15:19:53 +00:00
gpg_sign.py lib/oe/gpg_sign: fix output in error paths 2016-07-26 08:56:29 +01:00
license.py license: simple verification of LICENSE_<pkg> values 2016-08-25 22:54:49 +01:00
lsb.py lib/oe/lsb: attempt to ensure consistent distro id regardless of source 2016-11-15 15:19:54 +00:00
maketype.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
manifest.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
package.py oe/lib/package: handle shlibs files disappearing 2016-07-20 10:28:47 +01:00
package_manager.py lib/oe/package_manager: .deb pre/postinst args 2016-11-23 11:10:11 +00:00
packagedata.py classes/lib: Update to explictly create lists where needed 2016-06-02 08:24:00 +01:00
packagegroup.py classes/lib: Update to explictly create lists where needed 2016-06-02 08:24:00 +01:00
patch.py lib/oe/patch: fix handling of patches with no header 2016-11-23 11:10:12 +00:00
path.py lib/oe/path: remove duplicate import 2016-11-15 15:19:53 +00:00
prservice.py classes/lib: Update to explictly create lists where needed 2016-06-02 08:24:00 +01:00
qa.py lib/oe/qa: handle binaries with segments outside the first 4kb 2016-11-15 15:19:53 +00:00
recipeutils.py devtool: update-recipe: fix handling of compressed local patches 2016-11-23 11:10:13 +00:00
rootfs.py image: Deploy images to IMGDEPLOYDIR 2016-09-04 00:07:28 +01:00
sdk.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
sstatesig.py lib/oe/sstatesig: print locked sigs file message only when explicitly called 2016-07-08 09:57:23 +01:00
terminal.py terminal.py: Add compatiblity for konsole 16.08.1 2016-10-28 16:15:18 +01:00
types.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
utils.py meta: cleanup d.getVar(var, 1) 2016-09-14 22:22:07 +01:00