Revert "Copy multiple qualified DBs to the image based on the board name."

This commit breaks the build for x86-full-fast-generic at least. It causes a
file to be copied to itself during the build archive step:
http://build.chromium.org/buildbot/chromiumos/builders/x86%20generic%20full%20fast/builds/128/steps/archive_build/logs/stdio

TEST=None
BUG=None

This reverts commit 1cf4329681.

Signed-Off-By: Elly Jones <ellyjones@chromium.org>
Signed-Off-By: Nathan Williams <njw@chromium.org>

Review URL: http://codereview.chromium.org/2808069
This commit is contained in:
Elly Jones 2010-07-27 10:40:10 -04:00
parent 1cf4329681
commit c5fe33d940

View File

@ -5,16 +5,17 @@
# found in the LICENSE file. # found in the LICENSE file.
TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/hardware_Components" 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 QUALDB not specified, use the one based on board name.
if [ -z ${QUALDB} ]; then if [ -z ${QUALDB} ]; then
QUALDB="${TEST_DIR}/qualified_components_${BOARD}*" QUALDB="${TEST_DIR}/qualified_components_${BOARD}"
fi fi
if [ ! -z ${QUALDB} ] && [ -f ${QUALDB} ]; then if [ ! -z ${QUALDB} ] && [ -f ${QUALDB} ]; then
# Copy the qualified component file to the image # Copy the qualified component file to the image
echo "Copying ${QUALDB} to the image." echo "Copying ${QUALDB} to the image."
cp -f ${QUALDB} ${TEST_DIR}/ cp -f ${QUALDB} ${COMPONENTS_FILE}
else else
echo "No qualified component file found at: ${QUALDB}" echo "No qualified component file found at: ${QUALDB}"
fi fi