Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: src/scripts/mod_for_test_scripts/002enableDumps

Issue 2107013: Enables saving of chromium mini/core dumps (Closed) Base URL: ssh://git@chromiumos-git//chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/scripts/mod_image_for_test.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/mod_for_test_scripts/002enableDumps
diff --git a/src/scripts/mod_for_test_scripts/002enableDumps b/src/scripts/mod_for_test_scripts/002enableDumps
new file mode 100755
index 0000000000000000000000000000000000000000..c823cfa4d5c0e91d8446581ff01c4748601236fb
--- /dev/null
+++ b/src/scripts/mod_for_test_scripts/002enableDumps
@@ -0,0 +1,12 @@
+#!/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"
« no previous file with comments | « no previous file | src/scripts/mod_image_for_test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698