From: Richard Purdie Date: Tue, 26 Jan 2016 18:02:21 +0000 (+0000) Subject: image: Don't create tasks with '.' in the name X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f94d9be17d727b37dc655e7be272db2f290436aa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image: Don't create tasks with '.' in the name Similarly to "-", "." doesn't work well in task names but is used in some real world image classes. Work around this with some replacements for now to unbreak layers. (Issues don't show themselves until runtime, e.g. with --dry-run) Tested-By: Otavio Salvador Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 387051654ee..797f3425216 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -395,9 +395,9 @@ python () { after = 'do_image' for dep in typedeps[t]: - after += ' do_image_%s' % dep.replace("-", "_") + after += ' do_image_%s' % dep.replace("-", "_").replace(".", "_") - t = t.replace("-", "_") + t = t.replace("-", "_").replace(".", "_") d.setVar('do_image_%s' % t, '\n'.join(cmds)) d.setVarFlag('do_image_%s' % t, 'func', '1')