flatcar-scripts/mod_for_test_scripts/002enableDumps
Chris Sosa d02af025b2 Enables saving of chromium mini/core dumps
BUG=3283
TEST=Tested by running mod_image_for_test and checking the stateful partiton
on the resulting image and verifying that these files exist in the correct
locations.

Review URL: http://codereview.chromium.org/2107013
2010-06-02 12:30:04 -07:00

13 lines
407 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.
#
# Enables chromium mini and core dumps.
echo "Enabling chromium [mini,core]dumps."
mkdir -p "${STATEFUL_DIR}/etc"
touch "${STATEFUL_DIR}/etc/enable_chromium_minidumps"
touch "${STATEFUL_DIR}/etc/enable_chromium_coredumps"