termina_build_image: Don't create temp directory twice

In crrev.com/c/1779487 the termina image creation code was refactored into a
seperate function. This code creates a temporary directory using
tempfile.TemporaryDirectory() and then tries to create it a second time using
Path.mkdir(). This triggers an exception because the directory was already
created in tempfile.TemporaryDirectory(). Remove this line.

BUG=chromium:999698
TEST=./termina_uprev.py --output_dir=uprev 790.1

Change-Id: I22dbd6af1aeeffd49ac7a3eee1b9fe333da32c66
Reviewed-on: https://chromium-review.googlesource.com/1801409
Tested-by: Fergus Dall <sidereal@google.com>
Commit-Ready: Daniel Verkamp <dverkamp@chromium.org>
Commit-Ready: Fergus Dall <sidereal@google.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
1 file changed
tree: bef0d69ea36cab838cd856e9b44f04abdb3c4674
  1. cros-adapta/
  2. cros-apt-config/
  3. cros-garcon/
  4. cros-gpu/
  5. cros-gpu-alpha/
  6. cros-guest-tools/
  7. cros-notificationd/
  8. cros-pulse-config/
  9. cros-sftp/
  10. cros-sommelier/
  11. cros-sommelier-config/
  12. cros-sudo-config/
  13. cros-systemd-overrides/
  14. cros-tast-tests/
  15. cros-ui-config/
  16. cros-wayland/
  17. docs/
  18. kokoro/
  19. lxd/
  20. mesa/
  21. termina/
  22. .gitignore
  23. COMMIT-QUEUE.ini
  24. LICENSE
  25. OWNERS
  26. README.md
  27. WORKSPACE
README.md

cros-container-guest-tools

Overview

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.

Building

The guest packages can be built with Bazel. The CrOS milestone to target and release name (stretch, buster, etc.) are required.

bazel build //... --action_env="MILESTONE=74" --action_env="RELEASE=buster"