commit | 8673378220d1e720377b30ead235bd97612b548b | [log] [tgz] |
---|---|---|
author | Mike Frysinger <[email protected]> | Mon Feb 13 18:17:48 2023 |
committer | Mike Frysinger <[email protected]> | Tue Feb 14 17:09:52 2023 |
tree | 98caf21be9e429127c30910a6f000136f7b25e28 | |
parent | bb9984cfe1e91b0e4b3cc35968463d603dbbf1a5 [diff] |
cros_env_whitelist: rewrite in shell to avoid Python 2 The use of vpython for Python 2 is failing because vpython is being removed entirely, even for historical branches. We hacked up the depot_tools wrappers to handle this, but it only works for the few many scripts (e.g. cros_sdk). This script runs inside & outside of the SDK, and vpython isn't available inside the SDK. Since the script itself is trivial and produces static content, and will basically always produce the same content once a branch is cut, rewrite it in a simple shell script. BUG=b:268754243 TEST=`./cros_env_whitelist` works Change-Id: I922bd2fef20adb7ef254cedd0bf60697fb1a64d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4246118 Tested-by: Mike Frysinger <[email protected]> Reviewed-by: Ram Chandrasekar <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4248586