]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/packagedata.py: Fix broken symlinks for providers with a '/'
authorJoshua Watt <JPEWhacker@gmail.com>
Wed, 20 Dec 2023 18:01:02 +0000 (11:01 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Dec 2023 08:43:38 +0000 (08:43 +0000)
commit8b1482a4e2adb7cf358d638265cf116b34078b84
tree5dbc72948c2a0a0cd09bb7eb2457d0bec9da4fac
parent3eeec7f3412e881e51763ef947c82772d3858f09
lib/packagedata.py: Fix broken symlinks for providers with a '/'

If a package had a provider with a '/' in it (e.g. "/bin/sh",
"/bin/bash", etc.), the generated symlinks were broken due to being at a
hard coded depth. Use oe.path.relsymlink() instead to make a correct
relative symbolic link

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/packagedata.py