]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 May 2022 20:17:12 +0000 (21:17 +0100)
commitbed63756c56f296ff3d5a7eef66e978bd19f1008
tree3b79baac27f2056242f4739a7a7a2c0cfdda5b62
parent2f024c0236c4806f0e59e4ce51a42f6b80fdf1b3
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>
meta/classes/rootfs-postcommands.bbclass