commit | cb5c2e128700ecc31d3f7a86555caacf6c807fd2 | [log] [tgz] |
---|---|---|
author | James Ye <jamesye@google.com> | Wed Jan 12 13:04:51 2022 +1100 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 13 06:24:03 2022 +0000 |
tree | ed3ae80ea5c80bf5ce773ebfc956ab10853316e2 | |
parent | 94d5198fe1569b29d3ef30aaadef1d5ea142bddb [diff] |
lxd: Clean up mountpoints and temp files on failure Attempt to unmount rootfs mountpoints and clean up temporary files even if the build is unsuccessful. If unmounting fails, then cleanup is skipped to avoid deleting host system files. BUG=none TEST=kokoro Change-Id: I586d3f2afaaf39f11e1680f1123864f0a8cdc202 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/containers/cros-container-guest-tools/+/3379639 Reviewed-by: David Munro <davidmunro@google.com> Reviewed-by: Fergus Dall <sidereal@google.com> Tested-by: James Ye <jamesye@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: James Ye <jamesye@google.com>
These are the guest packages for setting up a container to integrate with Chrome OS. This includes build scripts that are run in Google's internal continuous integration service.
The guest packages can be built with Bazel.
bazel build //cros-debs:debs
promote\_apt.sh MILESTONE
and promote\_container.sh MILESTONE
in scripts are used to promote containers from staging to live. NOTE: Whatever is the latest in staging is what gets promoted to live so make sure it's what was tested.