commit | 47a7495453815b77df3f2af6d716fbeff41f308b | [log] [tgz] |
---|---|---|
author | Allen Li <ayatane@google.com> | Tue Apr 02 22:22:46 2019 |
committer | chrome-bot <chrome-bot@chromium.org> | Wed Apr 03 20:11:59 2019 |
tree | cd9523aded9adc070b513646bb0775357a9c107a | |
parent | a0f2120411c97fd09adb79f9aa8f2d34de05ed06 [diff] |
Remove now unused scripts BUG=chromium:929888 TEST=None Change-Id: I37731a89411853c3baac6cc5066b252792b254c3 Reviewed-on: https://chromium-review.googlesource.com/1549768 Commit-Ready: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Xixuan Wu <xixuan@chromium.org>
Inventory schema is stored as protobuf definitions in the proto/ directory. When you update these protobuf definitions, you must also update the generated python libraries for them.
You need the protoc compiler for this. On gLinux:
sudo apt-get install protobuf-compiler go get github.com/golang/protobuf/protoc-gen-go
Then, regenerate the libraries inside the chroot:
cros_sdk (cr) cd ~/trunk/infra/skylab_inventory/protos (cr) protoc --python_out=../venv/skylab_inventory/protos/ *.proto (cr) protoc --go_out=../go/src/chromiumos/infra/skylab/inventory/protos/ *.proto