[Sysroot] Port sysroot-creator.sh to Python
R=thestig
Bug: None
Change-Id: I951ec800463624ece45b1460c631e08429c37d03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5027933
Commit-Queue: Thomas Anderson <[email protected]>
Reviewed-by: Lei Zhang <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1226243}
diff --git a/docs/linux/sysroot.md b/docs/linux/sysroot.md
index 1473e79..4ef66206 100644
--- a/docs/linux/sysroot.md
+++ b/docs/linux/sysroot.md
@@ -28,7 +28,7 @@
### Adding new packages
-To add a new package, edit the `sysroot-creator.sh` script and modify the
+To add a new package, edit the `sysroot_creator.py` script and modify the
`DEBIAN_PACKAGES` list.
### Rebuilding
@@ -36,7 +36,7 @@
To rebuild the images (without any changes) run the following command for
each desired architecture:
- $ build/linux/sysroot_scripts/sysroot-creator.sh build <arch>
+ $ build/linux/sysroot_scripts/sysroot_creator.py build <arch>
This command on its own should be a no-op and produce an image identical to
the one on Google Cloud Storage.
@@ -45,7 +45,7 @@
To upload image to Google Cloud Storage run the following command:
- $ build/linux/sysroot_scripts/sysroot-creator.sh upload <arch>
+ $ build/linux/sysroot_scripts/sysroot_creator.py upload <arch>
Here you should use the SHA1 of the git revision at which the images were
created.