mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
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:
parent
1cf4329681
commit
c5fe33d940
@ -5,16 +5,17 @@
|
||||
# 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} ${TEST_DIR}/
|
||||
cp -f ${QUALDB} ${COMPONENTS_FILE}
|
||||
else
|
||||
echo "No qualified component file found at: ${QUALDB}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user