commit | 5461c3927e98355095a7209be770a71ac33f76af | [log] [tgz] |
---|---|---|
author | Brian Norris <briannorris@chromium.org> | Mon Apr 03 17:03:08 2023 -0700 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 07 17:56:33 2023 +0000 |
tree | 16e685a6d3dc88f5380c3949f6badcfa747ad300 | |
parent | 2c96c0ca9e69808cb6c8a23855ae532de1536a41 [diff] |
image_chromeos: Leverage chromite for path translation chromite's path_util does all of this better and is more resilient to SDK updates. Let's use it. While it's ugly, the path is pulled dynamically from 'chromeos_root', because this might be run standalone, and not part of a CrOS manifest layout. BUG=b:275442353 TEST=run it Change-Id: Ia3a06fa5c1b3049b827e1bce33da0daadbbdd734 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/4397062 Commit-Queue: Brian Norris <briannorris@chromium.org> Reviewed-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Tested-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
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.