mirror of
git://git.yoctoproject.org/poky
synced 2026-08-14 10:28:16 +00:00
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>
This commit is contained in:
parent
88ca2276c1
commit
6720bdac23
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user