mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
Fix missing path of factory files.
Review URL: http://codereview.chromium.org/2562001
This commit is contained in:
parent
fc9d6961ce
commit
7e12aadbbd
@ -4,7 +4,15 @@
|
|||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Use of this source code is governed by a BSD-style license that can be
|
||||||
# found in the LICENSE file.
|
# found in the LICENSE file.
|
||||||
|
|
||||||
echo "Create global_config.ini in autotest directory."
|
echo "Configure autotest setting."
|
||||||
|
|
||||||
|
SCRIPT_DIR="${GCLIENT_ROOT}/src/scripts/mod_for_factory_scripts/"
|
||||||
|
AUTOTEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/"
|
||||||
|
|
||||||
|
cp "${SCRIPT_DIR}/factory_ui" "${AUTOTEST_DIR}"
|
||||||
|
chmod +x "${AUTOTEST_DIR}/factory_ui"
|
||||||
|
cp "${SCRIPT_DIR}/factory_startx.sh" "${AUTOTEST_DIR}"
|
||||||
|
chmod +x "${AUTOTEST_DIR}/factory_startx.sh"
|
||||||
|
|
||||||
GLOBAL_CONFIG="${ROOT_FS_DIR}/usr/local/autotest/global_config.ini"
|
GLOBAL_CONFIG="${ROOT_FS_DIR}/usr/local/autotest/global_config.ini"
|
||||||
|
|
||||||
@ -13,13 +21,6 @@ if [ -f "${GLOBAL_CONFIG}" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AUTOTEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/"
|
|
||||||
|
|
||||||
chmod +x factory_ui
|
|
||||||
cp "factory_ui" "${AUTOTEST_DIR}"
|
|
||||||
chmod +x factory_startx.sh
|
|
||||||
cp "factory_startx.sh" "${AUTOTEST_DIR}"
|
|
||||||
|
|
||||||
cat > "${GLOBAL_CONFIG}" <<EOF
|
cat > "${GLOBAL_CONFIG}" <<EOF
|
||||||
[CLIENT]
|
[CLIENT]
|
||||||
drop_caches: False
|
drop_caches: False
|
||||||
|
Loading…
Reference in New Issue
Block a user