aboutsummaryrefslogtreecommitdiffstats
path: root/ui/build/paths/config.go
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-08-15 11:37:18 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-09-04 15:27:23 +0200
commit2669d3ddcf25fe87ad550f5c302485dcb88be7e8 (patch)
treed20291f7d84863ffd43441930c81dfc1f61ab7e3 /ui/build/paths/config.go
parent418b5a60d6f98e2fc34a217251a6b04dbe8fb3ab (diff)
downloadbuild_soong-2669d3ddcf25fe87ad550f5c302485dcb88be7e8.tar.gz
build_soong-2669d3ddcf25fe87ad550f5c302485dcb88be7e8.tar.bz2
build_soong-2669d3ddcf25fe87ad550f5c302485dcb88be7e8.zip
Allow to use the host python2
Using TEMPORARY_DISABLE_PATH_RESTRICTIONS=true has several downsides: - It output a warning each time a tool that is not in the config.go list is used. This spawns the build log. So it's a good idea to add the tools we use in config.go regardless of if TEMPORARY_DISABLE_PATH_RESTRICTIONS is set to true or not. - Adding python2 in config.go and not enabling TEMPORARY_DISABLE_PATH_RESTRICTIONS could be used to track the usage of 'python' as it's not allowed. In turn if we find that it's not used at all, we could simply remove the requirements to symlink python to python2 as users building Replicant might have other programs that require python to be python3 and not everybody might have the time or the resources to dedicate a distribution to build Replicant. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'ui/build/paths/config.go')
-rw-r--r--ui/build/paths/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/build/paths/config.go b/ui/build/paths/config.go
index d17b9f77..32934ff5 100644
--- a/ui/build/paths/config.go
+++ b/ui/build/paths/config.go
@@ -98,6 +98,7 @@ var Configuration = map[string]PathConfig{
"openssl": Allowed,
"patch": Allowed,
"pstree": Allowed,
+ "python2": Allowed,
"python3": Allowed,
"realpath": Allowed,
"rsync": Allowed,