mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
BUG=1583 TEST=actually builds Change-Id: I6510f30faf3f3c2e88b4ea9c63985c09086e1a5d Review URL: http://codereview.chromium.org/4482001 (cherry picked from commit afba119639afe0fb8206e58ead091f2efd114192) Allow branch customization for factory BUG=1583 TEST=removes superfluous files Change-Id: I576fc0dd811f9c1ed6299a539e0e8a014b37bdc8 Review URL: http://codereview.chromium.org/4376001 (cherry picked from commit 08fdc9da26456c286254c250366bdfc738f8ed38) No pagecycler for factory image BUG=1583 TEST="build, no pagecycler in factory." Change-Id: I43d23de5d518634697e17a32bcd94a43aad46aba Review URL: http://codereview.chromium.org/4342002 (cherry picked from commit f3e98785f3ed3f4e87e4287ee3ec45e2fc737c89) Review URL: http://codereview.chromium.org/5091002
23 lines
619 B
Bash
Executable File
23 lines
619 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/suite_Factory"
|
|
|
|
pushd ${TEST_DIR} 1> /dev/null
|
|
|
|
# If there is a customize_$BOARD script for this board, let's run it.
|
|
# This allows adding settings for specific factories or systems.
|
|
CUSTOMIZE="customize_${BOARD}"
|
|
if [ -e "${CUSTOMIZE}" ]; then
|
|
echo "Running ${CUSTOMIZE}"
|
|
"./${CUSTOMIZE}"
|
|
fi
|
|
|
|
# We don't need the customize script anymore.
|
|
rm -f customize_*
|
|
|
|
popd 1> /dev/null
|