mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 13:36:58 +02:00
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>
21 lines
486 B
Bash
21 lines
486 B
Bash
#!/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
|