summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-03-21 14:44:32 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-03-21 14:44:32 +0000
commit5dd395eabc980fbb517b4e58debf4b98c0e229c3 (patch)
tree4b57e2fae5fac8a9897d2f7c8b4e874ed1a427ad
parenta4c597a7988062ed2ca6aed89911d518fe312381 (diff)
downloadbase-files-5dd395eabc980fbb517b4e58debf4b98c0e229c3.tar.gz
base-files (6.5+4) unstable; urgency=low
* Added /etc/security * Removed /kernel, /platform, /usr/kernel, /usr/platform * Added /etc/svc/volatile * Create mountpoints in postinst: /etc/mnttab and /etc/dfs/sharetab * Create /export in postinst
-rw-r--r--debian/changelog7
-rw-r--r--debian/directory-list2
-rw-r--r--debian/postinst.in5
3 files changed, 12 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 0caaa3d..6e1fba7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,12 @@
-base-files (6.5+4) UNRELEASED; urgency=low
+base-files (6.5+4) unstable; urgency=low
* Added /etc/security
* Removed /kernel, /platform, /usr/kernel, /usr/platform
+ * Added /etc/svc/volatile
+ * Create mountpoints in postinst: /etc/mnttab and /etc/dfs/sharetab
+ * Create /export in postinst
- -- Igor Pashev <pashev.igor@gmail.com> Sat, 05 Jan 2013 19:46:34 +0400
+ -- Igor Pashev <pashev.igor@gmail.com> Thu, 21 Mar 2013 14:40:49 +0000
base-files (6.5+3) unstable; urgency=low
diff --git a/debian/directory-list b/debian/directory-list
index 9db1432..c7ab154 100644
--- a/debian/directory-list
+++ b/debian/directory-list
@@ -8,6 +8,8 @@ etc/dfs
etc/profile.d
etc/security
etc/skel
+etc/svc
+etc/svc/volatile
home
lib
mnt
diff --git a/debian/postinst.in b/debian/postinst.in
index 2a43814..d500df0 100644
--- a/debian/postinst.in
+++ b/debian/postinst.in
@@ -36,6 +36,10 @@ if [ ! -e /etc/dpkg/origins/default ]; then
fi
fi
+# mount points for special filesystems:
+[ -e /etc/mnttab ] || touch /etc/mnttab || true
+[ -e /etc/dfs/sharetab ] || touch /etc/dfs/sharetab || true
+
if [ "$1" = "configure" ] && [ "$2" = "" ]; then
install_from_default /usr/share/base-files/nsswitch.conf /etc/nsswitch.conf
install_from_default /usr/share/base-files/dot.profile /root/.profile
@@ -48,6 +52,7 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then
install_directory etc/opt 755 root
install_directory var/opt 755 root
install_directory media 755 root
+ install_directory export 755 root
install_directory var/mail 2775 mail
if [ ! -L /var/spool/mail ]; then
ln -s ../mail /var/spool/mail