archive_hwqual: copy image directly
There is no need to use image_to_usb.sh to copy the test image to
another directory.
BUG=chromium:353282
TEST=trybot run passes
Change-Id: I96467af8bc8bf8118ee3c2cbf7193f5b40d5f56a
Reviewed-on: https://chromium-review.googlesource.com/190580
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Yu-Ju Hong <yjhong@chromium.org>
Commit-Queue: Yu-Ju Hong <yjhong@chromium.org>
diff --git a/archive_hwqual b/archive_hwqual
index 6a58a01..bdd9b18 100755
--- a/archive_hwqual
+++ b/archive_hwqual
@@ -67,10 +67,9 @@
cd "${TMP}"
- echo "Formatting rootfs as a USB image..."
- "${script_dir}/image_to_usb.sh" --from="${FLAGS_image_dir}" \
- --image="${FLAGS_image}" \
- --to="tarball/${FLAGS_output_tag}/chromeos-hwqual-usb.img"
+ echo "Copying image..."
+ cp "${FLAGS_image_dir}/${FLAGS_image}" \
+ "tarball/${FLAGS_output_tag}/chromeos-hwqual-usb.img"
echo "Inserting documentation and autotest to tarball..."
ln -s \