summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-04-09 10:18:29 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-04-09 10:18:29 +0400
commit0b841e6f98479ae842dc8f06346f0a51378737c0 (patch)
treed7f639f008fe1fe3ff9807dd303af48d1221b4d4
parent4d6e184415e2549f10b064bcc174f36e94a324e3 (diff)
downloadbase-files-0b841e6f98479ae842dc8f06346f0a51378737c0.tar.gz
Added /var/lock -> /var/run/lock
-rw-r--r--debian/changelog8
-rw-r--r--debian/directory-list1
-rw-r--r--debian/links1
-rwxr-xr-xdebian/rules6
4 files changed, 13 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index b475f8b..74524b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+base-files (6.5+2) unstable; urgency=low
+
+ * Added /var/lock -> /var/run/lock
+ Note: /var/run is *the* directory and /run is *the* symlink,
+ cause somewhere /var/run is mounted on swap
+
+ -- Igor Pashev <pashev.igor@gmail.com> Mon, 09 Apr 2012 10:15:53 +0400
+
base-files (6.5+1) unstable; urgency=low
* Added default projects /etc/project
diff --git a/debian/directory-list b/debian/directory-list
index 8333f27..a2b8e9b 100644
--- a/debian/directory-list
+++ b/debian/directory-list
@@ -45,5 +45,6 @@ var/lib/misc
var/local
var/log
var/run
+var/run/lock
var/spool
var/tmp
diff --git a/debian/links b/debian/links
index 2d04a59..112feaa 100644
--- a/debian/links
+++ b/debian/links
@@ -2,3 +2,4 @@
. usr/gnu
usr/bin bin
var/run run
+run/lock var/lock
diff --git a/debian/rules b/debian/rules
index 820e819..6d4722d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,9 +31,6 @@ binary-arch: build
install -d debian/tmp/DEBIAN $(docdir) debian/tmp/etc/dpkg/origins
cp -a origins/* debian/tmp/etc/dpkg/origins
cd debian/tmp && install -d usr/share/$(package)
- cd debian/tmp && cat ../links | while read l; do \
- ln -sf $$l; \
- done
install -p -m 644 debian/changelog debian/README \
debian/README.FHS $(docdir)
cat debian/copyright.in | sed -e "s&#OSNAME#&$(OSNAME)&g" \
@@ -43,6 +40,9 @@ binary-arch: build
chmod 755 debian/tmp/DEBIAN/postinst
cd debian && install -m 644 conffiles tmp/DEBIAN
cd debian/tmp && install -d `cat ../directory-list`
+ cd debian/tmp && cat ../links | while read l; do \
+ ln -sf $$l; \
+ done
install -p -m 644 share/* debian/tmp/usr/share/base-files
install -p -m 644 licenses/* debian/tmp/usr/share/common-licenses
ln -s GFDL-1.3 debian/tmp/usr/share/common-licenses/GFDL