]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rootfs-postcommands: fix symlinks where link and output path are equal
authorDavide Gardenal <davidegarde2000@gmail.com>
Wed, 4 May 2022 08:39:04 +0000 (10:39 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 10 May 2022 18:23:11 +0000 (08:23 -1000)
commite3672b5ccd6e0f130b1657017802db130a859d20
treeef56c97f26caaaaf3bbc2a86c48f8fdc43e531d4
parent00db62342e67b916213c3b54db23c8090621462f
rootfs-postcommands: fix symlinks where link and output path are equal

When creating the manifest and the testdata.json links, if the link
name is equal to the output name the link is not created, otherwise
it is. This prevents a link-to-self in the first case.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bed63756c56f296ff3d5a7eef66e978bd19f1008)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/rootfs-postcommands.bbclass