All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell][PATCH] Revert "sdk: fix relocate symlink failed"
@ 2021-09-01 19:33 gr embeter
  2021-09-01 19:38 ` gr embeter
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: gr embeter @ 2021-09-01 19:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: steve, grygorii tertychnyi

This reverts commit a155c4d4ca841ef492213a5f0b9121703c62e2b4.

Otherwise, SDK installing fails with:

Extracting SDK...........................................................done
Setting it up...sed: -e expression #1, char 0: no previous regular expression
sed: -e expression #1, char 0: no previous regular expression
... tonns of lines ...
sed: -e expression #1, char 0: no previous regular expression
done
SDK has been successfully set up and is ready to be used.

Original commit message mentions commit bc4ee54535 ("sdk: Decouple
default install path from built in path"), that is not part of
dunfell. Hence, revert this fix.

Signed-off-by: grygorii tertychnyi <grembeter@outlook.com>
---
 meta/files/toolchain-shar-relocate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/files/toolchain-shar-relocate.sh b/meta/files/toolchain-shar-relocate.sh
index ba873373e29e..54337412966c 100644
--- a/meta/files/toolchain-shar-relocate.sh
+++ b/meta/files/toolchain-shar-relocate.sh
@@ -72,7 +72,7 @@ fi
 
 # change all symlinks pointing to @SDKPATH@
 for l in $($SUDO_EXEC find $native_sysroot -type l); do
-	$SUDO_EXEC ln -sfn $(readlink $l|$SUDO_EXEC sed -e "s:$SDK_BUILD_PATH:$target_sdk_dir:") $l
+	$SUDO_EXEC ln -sfn $(readlink $l|$SUDO_EXEC sed -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:") $l
 	if [ $? -ne 0 ]; then
 		echo "Failed to setup symlinks. Relocate script failed. Abort!"
 		exit 1
-- 
2.30.2


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

end of thread, other threads:[~2021-09-02  6:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 19:33 [dunfell][PATCH] Revert "sdk: fix relocate symlink failed" gr embeter
2021-09-01 19:38 ` gr embeter
2021-09-01 19:43 ` Steve Sakoman
2021-09-01 22:33 ` Steve Sakoman
2021-09-02  6:56   ` gr embeter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.