summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-26 18:02:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-26 18:05:13 +0000
commit6720bdac233099e9afe2f9510b1d401cd5b6f903 (patch)
tree7d1e4d957d86038c49b64f05751aa0c9f07524a3 /meta/classes/image.bbclass
parent88ca2276c14a625c3b4b1da407d75255f7ccae7f (diff)
downloadpoky-6720bdac233099e9afe2f9510b1d401cd5b6f903.tar.gz
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 <otavio.salvador@ossystems.com.br> (From OE-Core rev: f94d9be17d727b37dc655e7be272db2f290436aa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 387051654e..797f342521 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -395,9 +395,9 @@ python () {
395 395
396 after = 'do_image' 396 after = 'do_image'
397 for dep in typedeps[t]: 397 for dep in typedeps[t]:
398 after += ' do_image_%s' % dep.replace("-", "_") 398 after += ' do_image_%s' % dep.replace("-", "_").replace(".", "_")
399 399
400 t = t.replace("-", "_") 400 t = t.replace("-", "_").replace(".", "_")
401 401
402 d.setVar('do_image_%s' % t, '\n'.join(cmds)) 402 d.setVar('do_image_%s' % t, '\n'.join(cmds))
403 d.setVarFlag('do_image_%s' % t, 'func', '1') 403 d.setVarFlag('do_image_%s' % t, 'func', '1')