Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(698)

Unified Diff: src/scripts/mod_for_factory_scripts/500copyQualDb

Issue 1816004: Change the path of qualified_components to the autotest directory. (Closed) Base URL: ssh://git@chromiumos-git/chromiumos
Patch Set: Fix name Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/scripts/mod_for_factory_scripts/400configAutotest ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/mod_for_factory_scripts/500copyQualDb
diff --git a/src/scripts/mod_for_factory_scripts/500copyQualDb b/src/scripts/mod_for_factory_scripts/500copyQualDb
index b6977ba602883ed788a7e2dcb92fd6eef6086546..b75932b2ac40d1c1eb8a266fcbe6c235a2b0a32f 100755
--- a/src/scripts/mod_for_factory_scripts/500copyQualDb
+++ b/src/scripts/mod_for_factory_scripts/500copyQualDb
@@ -11,6 +11,9 @@
# QUALDB can be a full path of the file, or a specified directory
# /tmp/run_remote_tests.XXXX, or a default wildcard one /tmp/run_remote_tests.*.
+COMPONENTS_FILE="${STATEFUL_DIR}/usr/local/autotest/site_tests/"\
+"hardware_Components/qualified_components"
+
# If QUALDB is a default wildcard directory, try to use the most recent one.
QUALDB=$(ls -dt ${QUALDB} 2>&-| head -1)
@@ -22,9 +25,7 @@ fi
if [ ! -z ${QUALDB} ] && [ -f ${QUALDB} ]; then
# Copy the qualified component file to the image
echo "Copying ${QUALDB} to the image."
- mkdir -p ${ROOT_FS_DIR}/usr/local/manufacturing
- cp -f ${QUALDB} \
- ${ROOT_FS_DIR}/usr/local/manufacturing/qualified_components
+ cp -f ${QUALDB} ${COMPONENTS_FILE}
else
echo "No qualified component file found at: ${QUALDB}"
fi
« no previous file with comments | « src/scripts/mod_for_factory_scripts/400configAutotest ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698