* [PATCH 0/1] buildtools-tarball.bb: Fix PATH for environment setup script
@ 2020-12-08 9:43 Robert Yang
2020-12-08 9:43 ` [PATCH 1/1] " Robert Yang
0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2020-12-08 9:43 UTC (permalink / raw)
To: openembedded-core
The following changes since commit e995e67bc7a3d30adf9f8d0d2f4df92a941baeae:
meta/lib/oeqa/manual/oe-core.json: Update test_bitbake_devshell (2020-12-06 23:16:50 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/bt
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/bt
Robert Yang (1):
buildtools-tarball.bb: Fix PATH for environment setup script
meta/recipes-core/meta/buildtools-tarball.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] buildtools-tarball.bb: Fix PATH for environment setup script
2020-12-08 9:43 [PATCH 0/1] buildtools-tarball.bb: Fix PATH for environment setup script Robert Yang
@ 2020-12-08 9:43 ` Robert Yang
0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2020-12-08 9:43 UTC (permalink / raw)
To: openembedded-core
It only added ${SDKPATHNATIVE}/usr/bin to PATH which didn't work when files
were installed to other bin dirs such as /bin or /sbin, for example,
nativesdk-pigz installs the files to /bin, now fix it to keep align with sdk's
PATH.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-core/meta/buildtools-tarball.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 560b8d67b9b..9da81d55235 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -67,7 +67,7 @@ create_sdk_files_append () {
# Generate new (mini) sdk-environment-setup file
script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-${SDK_SYS}}
touch $script
- echo 'export PATH=${SDKPATHNATIVE}${bindir_nativesdk}:$PATH' >> $script
+ echo 'export PATH=${SDKPATHNATIVE}${bindir_nativesdk}:${SDKPATHNATIVE}${sbindir_nativesdk}:${SDKPATHNATIVE}${base_bindir_nativesdk}:${SDKPATHNATIVE}${base_sbindir_nativesdk}:$PATH' >> $script
echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
echo 'export GIT_SSL_CAINFO="${SDKPATHNATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"' >>$script
echo 'export SSL_CERT_FILE="${SDKPATHNATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"' >>$script
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-08 9:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 9:43 [PATCH 0/1] buildtools-tarball.bb: Fix PATH for environment setup script Robert Yang
2020-12-08 9:43 ` [PATCH 1/1] " Robert Yang
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.