kern-tools: avoid syntax errors when inheriting meta data

It is possible to inherit meta data for either patches + config
or for just config.

It is possible that the patch queue contains invalid (when
sourced) shell characters in the patch names, which throws a
syntax error and aborts processing.

The patch + config case was fixed some time ago, but we recently
stumbled onto the config-only case which was still not properly
quoted and hence safe.

This commit brings the config-only inherit in line with the
patch + config processing and we won't abort processing if
characters like () are in patch names.

(From OE-Core rev: ce7044be10597d53725e6917a2949f3ab3de0c96)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield
2017-06-08 15:21:52 -04:00
committed by Richard Purdie
parent 9b8fc32c55
commit 2cfe5a51a1

View File

@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=a6c2fa8aef1b
DEPENDS = "git-native"
SRCREV = "bd7447cd6274d764a129dcdc246cdbfd8c47b991"
SRCREV = "9cd2b626d652bec10c6bc75275b35bfee74d447c"
PR = "r12"
PV = "0.2+git${SRCPV}"