]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-check: fix symlinks where link and output path are equal
authorDavide Gardenal <davidegarde2000@gmail.com>
Tue, 3 May 2022 07:52:44 +0000 (09:52 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 10 May 2022 18:23:11 +0000 (08:23 -1000)
commit62965ca8ca7077c12d75dac37efe204d7159cddd
tree72d48903adf6f5b4bc7c03a96578b83f677d7884
parentd8ef964ffeb92684d01d71c983af9dbb1e1b0c4f
cve-check: fix symlinks where link and output path are equal

An if statement now checks if the link and output path are
the same, if they are then the link is not created,
otherwise it is.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 2f024c0236c4806f0e59e4ce51a42f6b80fdf1b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/cve-check.bbclass