base.bbclass: fix parse error on recipes with '++' in their name
PATCH 1/1 base.bbclass: fix parse error on recipes with '++' in their name
Fixes "multiple repeat" or "nothing to repeat" errors when parsing recipes with '++' in the file name.
Signed-off-by Paul Eggleton <[email protected]>
--- meta/classes/base.bbclass | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
meta/classes/base.bbclass +2 -1
@@ -422,7 +422,8 @@ python () { commercial_license = bb.data.getVar('COMMERCIAL_LICENSE', d, 1) import re - if commercial_license and re.search(pn, commercial_license): + pnr = pn.replace('+', "\+") + if commercial_license and re.search(pnr, commercial_license): bb.debug(1, "Skipping %s because it's commercially licensed" % pn) raise bb.parse.SkipPackage("because it requires commercial license to ship product")
Signature · 1 line
1.7.3.1