mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
Restore global_config.ini (necessary for autotests to run).
Partially reverts I1ddcddac233a7499b7150e5bbea1506c0ceb174a. BUG=chrome-os-partner:11679 TEST=build_image Change-Id: Ia3d30ab0bdb424b5c5584ed761244f2d06538651 Reviewed-on: https://gerrit.chromium.org/gerrit/28160 Commit-Ready: Jon Salz <jsalz@chromium.org> Reviewed-by: Jon Salz <jsalz@chromium.org> Tested-by: Jon Salz <jsalz@chromium.org>
This commit is contained in:
parent
d2345a6706
commit
194af5ed99
20
mod_for_factory_scripts/400configAutotest
Normal file
20
mod_for_factory_scripts/400configAutotest
Normal file
@ -0,0 +1,20 @@
|
||||
#!/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.
|
||||
|
||||
echo "Configure autotest setting."
|
||||
|
||||
GLOBAL_CONFIG="${ROOT_FS_DIR}/usr/local/autotest/global_config.ini"
|
||||
|
||||
if [ -f "${GLOBAL_CONFIG}" ]; then
|
||||
echo -e "File ${GLOBAL_CONFIG} already exists."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat >"${GLOBAL_CONFIG}" <<EOF
|
||||
[CLIENT]
|
||||
drop_caches: False
|
||||
drop_caches_between_iterations: False
|
||||
EOF
|
||||
Loading…
x
Reference in New Issue
Block a user