From 2acef6181522674f8e2c08c26ee8bccba5258193 Mon Sep 17 00:00:00 2001 From: Tom Wai-Hong Tam Date: Thu, 6 May 2010 14:14:02 +0800 Subject: [PATCH] Change the path of qualified_components to the autotest directory. So no need of the directory /usr/local/manufacturing/. Review URL: http://codereview.chromium.org/1816004 --- mod_for_factory_scripts/400configAutotest | 11 +++++++---- mod_for_factory_scripts/500copyQualDb | 7 ++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/mod_for_factory_scripts/400configAutotest b/mod_for_factory_scripts/400configAutotest index 360a7e0cd7..5eb3b86a40 100755 --- a/mod_for_factory_scripts/400configAutotest +++ b/mod_for_factory_scripts/400configAutotest @@ -6,12 +6,15 @@ echo "Create global_config.ini in autotest directory." -pushd ${STATEFUL_DIR} +GLOBAL_CONFIG="${STATEFUL_DIR}/home/autotest-client/global_config.ini" -cat > ${STATEFUL_DIR}/home/autotest-client/global_config.ini < "${GLOBAL_CONFIG}" <&-| 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