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

Unified Diff: src/package_scripts/base-passwd.postinst

Issue 549017: Always use our dpkg wrapper when mastering an image. (Closed)
Patch Set: Whitespace fix. Created 10 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 | « src/package_scripts/base-files.postinst ('k') | src/package_scripts/libpam-runtime.postinst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/package_scripts/base-passwd.postinst
diff --git a/src/package_scripts/base-passwd.postinst b/src/package_scripts/base-passwd.postinst
new file mode 100755
index 0000000000000000000000000000000000000000..f94639a375050a70c77baa6455996debd7e092c1
--- /dev/null
+++ b/src/package_scripts/base-passwd.postinst
@@ -0,0 +1,12 @@
+#!/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.
+
+# base-passwd
+
+cp -a "${ROOT}/usr/share/base-passwd/passwd.master" \
+ "${ROOT}/etc/passwd"
+cp -a "${ROOT}/usr/share/base-passwd/group.master" \
+ "${ROOT}/etc/group"
« no previous file with comments | « src/package_scripts/base-files.postinst ('k') | src/package_scripts/libpam-runtime.postinst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698