]> code.ossystems Code Review - openembedded-core.git/commit
qemuboot.bbclass: Prevent creating a link loop
authorMike Looijmans <mike.looijmans@topic.nl>
Thu, 17 Aug 2017 13:43:18 +0000 (15:43 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Aug 2017 11:35:56 +0000 (12:35 +0100)
commitf46652e77f467861dc68c3a8e54f27d08659222d
tree76895c860bf503e5dae8479d2f70cce7e53c87b8
parent5a59a6997f41e606d088e3e86812de56f72f543b
qemuboot.bbclass: Prevent creating a link loop

When IMAGE_NAME and IMAGE_LINK_NAME are equal, do_write_qemuboot_conf will
create a symlink that links to itself.

Check if this is the case before creating the link.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/qemuboot.bbclass