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

Unified Diff: src/package_scripts/base-files.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 | « no previous file | src/package_scripts/base-passwd.postinst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/package_scripts/base-files.postinst
diff --git a/src/package_scripts/base-files.postinst b/src/package_scripts/base-files.postinst
new file mode 100755
index 0000000000000000000000000000000000000000..c07ce307d0271375e58f758602b7b9f7edab0b94
--- /dev/null
+++ b/src/package_scripts/base-files.postinst
@@ -0,0 +1,18 @@
+#!/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-files
+
+cp -a "${ROOT}/usr/share/base-files/networks" \
+ "${ROOT}/usr/share/base-files/nsswitch.conf" \
+ "${ROOT}/usr/share/base-files/profile" \
+ "${ROOT}/etc/"
+
+# TODO: Does this belong here or in another postinst?
+touch "${ROOT}/etc/fstab"
+
+# TODO:This is needed by stuff that uses sysv-rc. Maybe move there?
+mkdir -p "${ROOT_FS_DIR}/etc/init.d"
« no previous file with comments | « no previous file | src/package_scripts/base-passwd.postinst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698