diff options
author | George Engelbrecht <engeg@google.com> | 2020-11-02 14:58:36 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-03 07:15:12 +0000 |
commit | f1062d8ad6e596b7e8850e60c8b7f87d8fd84041 (patch) | |
tree | a4fa4f90fd14080f7431e598fdb6e21465aa84e5 | |
parent | fd5cd5aa9883d346b102210004b8fafecc1ba457 (diff) | |
download | vboot-f1062d8ad6e596b7e8850e60c8b7f87d8fd84041.tar.gz |
common: log loopback detaches
We want to find the culprit loopback device which isn't detatching on
crbug.com/1141907. We might as well log our cleanup actions anyway, and
this will allow us to see the last loopback processed in production.
BUG=chromium:1141907
TEST=just a log message
BRANCH=None
Signed-off-by: George Engelbrecht <engeg@google.com>
Change-Id: I126efceae4f67993069675c23f6c4af61c7e5667
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514561
Reviewed-by: LaMont Jones <lamontjones@chromium.org>
-rw-r--r-- | scripts/image_signing/common.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/image_signing/common.sh b/scripts/image_signing/common.sh index f1fd3ef7..9541ca08 100644 --- a/scripts/image_signing/common.sh +++ b/scripts/image_signing/common.sh @@ -120,6 +120,7 @@ loopback_detach() { cleanup_loopbacks() { local line while read -r line; do + info "Cleanup: detaching ${line}" loopback_detach "${line}" 2>/dev/null done <"${TEMP_LOOP_LIST}" rm -f "${TEMP_LOOP_LIST}" |