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

Unified Diff: mod_for_factory_scripts/500copyQualDb

Issue 3038026: Copy multiple qualified DBs to the image based on the board name. (Closed) Base URL: ssh://gitrw.chromium.org/crosutils.git
Patch Set: Created 10 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mod_for_factory_scripts/500copyQualDb
diff --git a/mod_for_factory_scripts/500copyQualDb b/mod_for_factory_scripts/500copyQualDb
index 9f48039191cb91ae4408887a1445b7734282fac4..cb89b3db71ab952b3f2e54f4568bdafdccca5a03 100755
--- a/mod_for_factory_scripts/500copyQualDb
+++ b/mod_for_factory_scripts/500copyQualDb
@@ -5,17 +5,16 @@
# found in the LICENSE file.
TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/hardware_Components"
-COMPONENTS_FILE="${TEST_DIR}/qualified_components"
# If QUALDB not specified, use the one based on board name.
if [ -z ${QUALDB} ]; then
- QUALDB="${TEST_DIR}/qualified_components_${BOARD}"
+ QUALDB="${TEST_DIR}/qualified_components_${BOARD}*"
fi
if [ ! -z ${QUALDB} ] && [ -f ${QUALDB} ]; then
# Copy the qualified component file to the image
echo "Copying ${QUALDB} to the image."
- cp -f ${QUALDB} ${COMPONENTS_FILE}
+ cp -f ${QUALDB} ${TEST_DIR}/
else
echo "No qualified component file found at: ${QUALDB}"
fi
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698