Commit e2a920a2 authored by Gabriel Marin's avatar Gabriel Marin Committed by chrome-bot
Browse files

toolchain-utils: Delete temporary chroot image after verification step.

When a local image is outside the chroot, it is temporarily copied into the
chroot so that it can be mounted by chroot scripts. Changed the logic to
delay the cleanup of the temporary copy until after the verification step.
The image needs to be mounted once again during verification.

Didn't catch this bug earlier, as the images were cached inside the chroot by
previous failed runs.

BUG=b:79376118
TEST=Tested with crosperf, two local images and a clean chroot without any
cached images.

Change-Id: I700f9aa0d9827aa349e75ef7b6b22618baf26fa9
Reviewed-on: https://chromium-review.googlesource.com/1062330


Commit-Ready: Gabriel Marin <gmx@chromium.org>
Tested-by: default avatarGabriel Marin <gmx@chromium.org>
Reviewed-by: default avatarGabriel Marin <gmx@chromium.org>
Reviewed-by: default avatarYunlian Jiang <yunlian@chromium.org>
parent ea6935f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment