Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/4] populate_sdk_ext.bbclass: do not symlink unfsd from sdk image sysroot into eSDK tools path
@ 2023-11-03 10:28 Alexander Kanavin
  2023-11-03 10:28 ` [PATCH 2/4] meta/lib/oe/copy_buildsystem.py: do not derefence symlinks Alexander Kanavin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexander Kanavin @ 2023-11-03 10:28 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

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>
---
 meta/classes-recipe/populate_sdk_ext.bbclass | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass
index 028d0c1ff54..173b3065b00 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -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
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-06 15:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03 10:28 [PATCH 1/4] populate_sdk_ext.bbclass: do not symlink unfsd from sdk image sysroot into eSDK tools path Alexander Kanavin
2023-11-03 10:28 ` [PATCH 2/4] meta/lib/oe/copy_buildsystem.py: do not derefence symlinks Alexander Kanavin
2023-11-03 10:28 ` [PATCH 3/4] scripts/esdk-tools: use a dedicated, static directory for esdk tools Alexander Kanavin
2023-11-03 10:28 ` [PATCH 4/4] populate_sdk_ext: split copy_buildsystem() into logical steps defined as functions Alexander Kanavin
2023-11-03 23:50   ` [OE-core] " Alexandre Belloni
2023-11-06 12:54     ` Alexander Kanavin
2023-11-06 15:01       ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox