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

Unified Diff: src/package_scripts/libpam-runtime.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-passwd.postinst ('k') | src/package_scripts/mawk.postinst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/package_scripts/libpam-runtime.postinst
diff --git a/src/package_scripts/libpam-runtime.postinst b/src/package_scripts/libpam-runtime.postinst
new file mode 100755
index 0000000000000000000000000000000000000000..58898f34b42ef780c14bbc17fdf0ac7349bb877b
--- /dev/null
+++ b/src/package_scripts/libpam-runtime.postinst
@@ -0,0 +1,17 @@
+#!/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.
+
+# libpam-runtime
+
+# The postinst script calls pam-auth-update, which is a perl script that
+# expects to run within the targetfs. Until we fix this, we just copy
+# from the build chroot.
+cp -a /etc/pam.d/common-* \
+ /etc/pam.d/login \
+ /etc/pam.d/newusers \
+ /etc/pam.d/su \
+ /etc/pam.d/sudo \
+ "${ROOT}/etc/pam.d/"
« no previous file with comments | « src/package_scripts/base-passwd.postinst ('k') | src/package_scripts/mawk.postinst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698