From 0b841e6f98479ae842dc8f06346f0a51378737c0 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 9 Apr 2012 10:18:29 +0400 Subject: Added /var/lock -> /var/run/lock --- debian/changelog | 8 ++++++++ debian/directory-list | 1 + debian/links | 1 + debian/rules | 6 +++--- 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 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 -- cgit v1.2.3