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