From e47d21624dfec6f71742b837e91da553f18a28c5 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 10 Nov 2016 14:45:17 +1300 Subject: 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]. Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton --- .../devtool/devtool-test-patch-gz/readme.patch.gz | Bin 0 -> 449 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 meta-selftest/recipes-test/devtool/devtool-test-patch-gz/readme.patch.gz (limited to 'meta-selftest/recipes-test/devtool/devtool-test-patch-gz') diff --git a/meta-selftest/recipes-test/devtool/devtool-test-patch-gz/readme.patch.gz b/meta-selftest/recipes-test/devtool/devtool-test-patch-gz/readme.patch.gz new file mode 100644 index 0000000000..4752492ccd Binary files /dev/null and b/meta-selftest/recipes-test/devtool/devtool-test-patch-gz/readme.patch.gz differ -- cgit v1.2.3