Cleanup sysroot_scripts
- Remove UpdatePackageLists* since this functionality was already performed by
BuildSysroot*.
- Remove the "Revision" key from sysroots.json since the "Sha1Sum" key is enough
to uniquely identify each sysroot.
- Move packagelist.* into generated_package_lists/*. There were at least 2
occasions where folks tried to manually update these files.
R=thestig
BUG=None
Change-Id: Id7f8ea9ade6b2f445997f445412ec2120b3f7770
Reviewed-on: https://chromium-review.googlesource.com/c/1268942
Reviewed-by: Lei Zhang <[email protected]>
Commit-Queue: Thomas Anderson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#598043}
diff --git a/docs/linux_sysroot.md b/docs/linux_sysroot.md
index 67a6c0e5..37e24de1b5 100644
--- a/docs/linux_sysroot.md
+++ b/docs/linux_sysroot.md
@@ -29,17 +29,7 @@
### Adding new packages
To add a new package, edit the `sysroot-creator-*.sh` scripts and modify the
-`DEBIAN_PACKAGES` list, then run the update step (`UpdatePackageListsAll`). The
-steps below will use `sysroot-creator-stretch.sh` as an example.
-
-### Updating existing package list
-
-To update packages to the latest versions run:
-
- $ ./sysroot-creator-stretch.sh UpdatePackageListsAll
-
-This command will update the package lists that are stored alongside the script.
-If no packages have changed then this script will have no effect.
+`DEBIAN_PACKAGES` list.
### Rebuilding
@@ -61,7 +51,7 @@
To upload images to Google Cloud Storage run the following command:
- $ ./sysroot-creator-stretch.sh UploadSysrootAll <SHA1>
+ $ ./sysroot-creator-stretch.sh UploadSysrootAll
Here you should use the SHA1 of the git revision at which the images were
created.