generic-poky/meta
Paul Eggleton d316363b7b lib/oe/patch: fix handling of patches with no header
If a patch applied by a recipe has no header and we turn the recipe's
source into a git tree (when PATCHTOOL = "git" or when using devtool
extract / modify / upgrade), the commit message ends up consisting only
of the original filename marker ("%% original patch: filename.patch").
When we come to do turn the commits back into a set of patches in
extractPatches(), this first line ends up in the "Subject: " part of
the file, but we were ignoring it because the line didn't start with the
marker text. The end result was we weren't able to get the original
patch name. Strip off any "Subject [PATCH x/y]" part before looking for
the marker text to fix.

This caused "devtool modify openssl" followed by "devtool update-recipe
openssl" (without any changes in-between) to remove version-script.patch
because that patch has no header and we weren't able to determine the
original filename.

(From OE-Core rev: d9971f5dc8eb7de551fd6f5e058fd24770ef5d78)

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:12 +00:00
..
classes cmake.bbclass: Set CXXFLAGS and CFLAGS 2016-11-23 11:10:12 +00:00
conf qemuarm64.conf: make runqemu's graphics work 2016-11-15 15:19:53 +00:00
files sdk-installer: Fix unclear SDK installer message 2016-10-11 22:59:35 +01:00
lib lib/oe/patch: fix handling of patches with no header 2016-11-23 11:10:12 +00:00
recipes-bsp acpid: Upgrade 2.0.27 -> 2.0.28 2016-11-06 23:35:34 +00:00
recipes-connectivity openssh: fix CVE-2016-8858 2016-11-23 11:10:12 +00:00
recipes-core glibc: fix CVE-2016-6323 2016-11-23 11:10:12 +00:00
recipes-devtools qemu: update run-ptest script 2016-11-23 11:10:12 +00:00
recipes-extended ltp: Reduce duplication in MIPS variants. 2016-11-23 11:10:12 +00:00
recipes-gnome libwnck3: remove the recipe 2016-11-06 23:35:34 +00:00
recipes-graphics wayland: upgrade from 1.11.1 to 1.12.0 2016-11-15 15:19:54 +00:00
recipes-kernel systemtap: fix native linking on recent Ubuntu 2016-11-15 15:19:54 +00:00
recipes-lsb4 libpng12: Handle no static libs 2016-02-15 16:28:46 +00:00
recipes-multimedia tiff: Security fix CVE-2016-3658 2016-11-23 11:10:12 +00:00
recipes-rt rt-tests: fix the recipe version to match upstream 2016-11-06 23:35:34 +00:00
recipes-sato webkitgtk: Add an option to disable opengl support 2016-11-23 11:10:12 +00:00
recipes-support libbsd: Fix build with musl 2016-11-15 15:19:54 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00