diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-26 18:02:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-26 18:04:19 +0000 |
commit | f94d9be17d727b37dc655e7be272db2f290436aa (patch) | |
tree | 27f379ae5da541af6dd6aef5a30288c565c77398 /meta/classes/image.bbclass | |
parent | cff11495cc376f080e06028655e4eb6c7f8a8094 (diff) | |
download | openembedded-core-f94d9be17d727b37dc655e7be272db2f290436aa.tar.gz openembedded-core-f94d9be17d727b37dc655e7be272db2f290436aa.tar.bz2 openembedded-core-f94d9be17d727b37dc655e7be272db2f290436aa.zip |
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 4 |
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 () { 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') |