commit | f7b59c2a053c89170ab3e29a5e7959b60d00134c | [log] [tgz] |
---|---|---|
author | denik <denik@chromium.org> | Thu Mar 16 11:39:14 2023 -0700 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 16 21:44:04 2023 +0000 |
tree | 9da1028d4bc3faff87bc98c9e8a87c450c634012 | |
parent | 869e979a9b163b195d30d6dc3b2c3e646490b9cc [diff] |
update_kernel_afdo: Fix configuration reading When the script is running with the absolute path it has to read the relative path of the config file. If the script is running for multiple channels reset branch dependent vars on every channel. BUG=b:272295936 TEST=tested on chrotomation with command line from cronjob invocation Change-Id: Iab2c83a1a5773a5c2462e35d8ad12732187bd7fa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/4344954 Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: Denis Nikitin <denik@chromium.org> Bot-Commit: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
toolchain-utils
Various utilities used by the ChromeOS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.