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

Unified Diff: scripts/image_signing/ensure_no_nonrelease_files.config

Issue 6264023: Script to check for blacklisted files as described in chrome-os-partner:1991 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Fix review items. Created 9 years, 11 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 | scripts/image_signing/ensure_no_nonrelease_files.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/image_signing/ensure_no_nonrelease_files.config
diff --git a/scripts/image_signing/ensure_no_nonrelease_files.config b/scripts/image_signing/ensure_no_nonrelease_files.config
new file mode 100755
index 0000000000000000000000000000000000000000..1ca02f1a37b302fb2a8a6032c96033eb57273f8e
--- /dev/null
+++ b/scripts/image_signing/ensure_no_nonrelease_files.config
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# Copyright (c) 2011 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.
+
+# Files/directories that should never be present in a clean,
+# standard release build.
+RELEASE_FILE_BLACKLIST=(
+# Flag-file indicating "developer mode", crosh offers "shell" if present:
+/root/.dev_mode
+
+# Should not ship with a local account pre-set on the system
+/opt/google/chrome/localaccount
+
+# Generation of this should happen on-device. Don't want to introduce
+# any cryptohome-related weaknesses e.g. everyone using the same salt.
+/home/.shadow
+)
« no previous file with comments | « no previous file | scripts/image_signing/ensure_no_nonrelease_files.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698