All of lore.kernel.org
 help / color / mirror / Atom feed
* [hardknott][PATCH] Revert "sdk: fix relocate symlink failed"
@ 2021-09-07  6:25 hongxu
  2021-09-07 10:39 ` [OE-core] " Andrey Zhizhikin
       [not found] ` <16A2841257B7E642.24606@lists.openembedded.org>
  0 siblings, 2 replies; 4+ messages in thread
From: hongxu @ 2021-09-07  6:25 UTC (permalink / raw)
  To: openembedded-core; +Cc: anuj.mittal

The commit [7e71acd265 sdk: fix relocate symlink failed] is used to fix
regression issue caused by commit [bc4ee54535 sdk: Decouple default install
path from built in path], but hardknott does not contain commit bc4ee54535,
so commit 7e71acd265 should not be in hardknott neither, otherwise it caused
other regression issue.

This reverts commit 7e71acd265637d54d5bf149ea36cefa581f60992.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.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 ba873373e2..5433741296 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.27.0


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

end of thread, other threads:[~2021-09-08  1:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07  6:25 [hardknott][PATCH] Revert "sdk: fix relocate symlink failed" hongxu
2021-09-07 10:39 ` [OE-core] " Andrey Zhizhikin
2021-09-08  1:21   ` hongxu
     [not found] ` <16A2841257B7E642.24606@lists.openembedded.org>
2021-09-07 10:41   ` Andrey Zhizhikin

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.