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

Unified Diff: mod_for_test_scripts/900mountHomeExec

Issue 3529021: Mount /home as exec in mod_for_test (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Remove extra IO by having mod_for_test uncomment the remount. Created 10 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mod_for_test_scripts/900mountHomeExec
diff --git a/mod_for_test_scripts/900mountHomeExec b/mod_for_test_scripts/900mountHomeExec
new file mode 100755
index 0000000000000000000000000000000000000000..bc609673b8c9ca82cdf45ed07873cee593edcdea
--- /dev/null
+++ b/mod_for_test_scripts/900mountHomeExec
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Copyright (c) 2009 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.
+
+# Create a marker file indicating that we are in mod_for_test
+echo "Setting /home to be mounted exec"
+sed -i -e 's/#mod_for_test#//g' ${ROOT_FS_DIR}/sbin/chromeos_startup
Will Drewry 2010/10/08 18:40:06 fine as is but you can trim the trailing space too
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698