]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
populate_sdk_ext.bbclass: do not symlink unfsd from sdk image sysroot into eSDK tools...
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 3 Nov 2023 10:28:03 +0000 (11:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Nov 2023 08:05:36 +0000 (08:05 +0000)
This was done in 2016 to support Eclipse plugin (long dead),
it's currently broken as image sysroot is not in the SDK
until the image is built in that context, and current tools
all rely on runqemu-export-rootfs which does not rely on PATH
and runs unfsd with full path to recipe-specific sysroots.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/populate_sdk_ext.bbclass

index 028d0c1ff54c55b3d2667fab1db4125d08362187..173b3065b0032782dd4809c253d9c3d7fa7f39ee 100644 (file)
@@ -635,13 +635,6 @@ install_tools() {
                        test -e ${targetscriptfn} || ln -rs ${scriptfn} ${targetscriptfn}
                done
        done
-       # We can't use the same method as above because files in the sysroot won't exist at this point
-       # (they get populated from sstate on installation)
-       unfsd_path="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd"
-       if [ "${SDK_INCLUDE_TOOLCHAIN}" = "1" -a ! -e $unfsd_path ] ; then
-               binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE'), d.getVar('TMPDIR'))}
-               ln -rs ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd $unfsd_path
-       fi
        touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase
 
        # find latest buildtools-tarball and install it