From 00eed21e24b5e5c7329971437eb218d276e70308 Mon Sep 17 00:00:00 2001 From: Eric Blade Date: Fri, 23 Feb 2024 01:03:24 -0500 Subject: [PATCH] Add DL_DIR and SSTATE_DIR to passthrough environment - Allow users to specify DL_DIR and SSTATE_DIR from their environment - Makes it easier to share downloads and state across multiple bitbake setups --- build-templates/oe-init-build-env.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-templates/oe-init-build-env.in b/build-templates/oe-init-build-env.in index db04d1be..a4bcf3cb 100644 --- a/build-templates/oe-init-build-env.in +++ b/build-templates/oe-init-build-env.in @@ -36,7 +36,7 @@ fi # used in runqemu bitbake wrapper for pseudodone location export BUILDDIR="${TOPDIR}/BUILD" -export BB_ENV_PASSTHROUGH_ADDITIONS="MACHINE DISTRO TCMODE TCLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS PARALLEL_MAKE GIT_PROXY_COMMAND GIT_PROXY_IGNORE SOCKS5_PASSWD SOCKS5_USER WEBOS_DISTRO_BUILD_ID PSEUDO_DISABLED PSEUDO_BUILD" +export BB_ENV_PASSTHROUGH_ADDITIONS="MACHINE DISTRO TCMODE TCLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS PARALLEL_MAKE GIT_PROXY_COMMAND GIT_PROXY_IGNORE SOCKS5_PASSWD SOCKS5_USER WEBOS_DISTRO_BUILD_ID PSEUDO_DISABLED PSEUDO_BUILD DL_DIR SSTATE_DIR" [ -z "${MACHINES}" ] && MACHINES="@machines@" [ -z "${MACHINE}" ] && MACHINE="@machine@"