summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-09-30 19:49:52 +0000
committerMike Frysinger <vapier@gentoo.org>2011-09-30 19:49:52 +0000
commit3611dc879adcfb12c101bc948521a25c08548d10 (patch)
tree0248190f826ac1a508666e26241fa32a786baeea
parentdynamic management of libdir paths is moving to ebuilds (diff)
downloadbaselayout-3611dc879adcfb12c101bc948521a25c08548d10.tar.gz
baselayout-3611dc879adcfb12c101bc948521a25c08548d10.tar.bz2
baselayout-3611dc879adcfb12c101bc948521a25c08548d10.zip
symlink /var/run to /run and /var/lock to /run/lock
svn path=/trunk/; revision=3200
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ef0e4a4d..d22e9159 100644
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,7 @@ KEEP_DIRS = $(KEEP_DIRS-$(OS)) \
/var/cache \
/var/empty \
/var/lib \
- /var/lock \
/var/log \
- /var/run \
/var/spool
all:
@@ -72,8 +70,8 @@ layout:
touch $(DESTDIR)/var/tmp/.keep
install -m 1777 -d $(DESTDIR)/tmp
touch $(DESTDIR)/tmp/.keep
- -chgrp uucp $(DESTDIR)/var/lock
- install -m 0775 -d $(DESTDIR)/var/lock
+ ln -snf /run $(DESTDIR)/var/run
+ ln -snf /run/lock $(DESTDIR)/var/lock
# FHS compatibility symlinks stuff
ln -snf /var/tmp $(DESTDIR)/usr/tmp