summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-08-13 12:56:39 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-08-13 12:56:39 (EDT)
commit3d0b7ff628d44727b5d69a7bc012ce98bdfbea61 (patch)
tree3ba0e5cd3d040a14b355d8625e7f50f83f9f6d4d
parentadccf87da2c72891e12f20945db07020382c10db (diff)
Make /run and links.
-rwxr-xr-xbuild2
-rw-r--r--dirs3
2 files changed, 3 insertions, 2 deletions
diff --git a/build b/build
index 4f77a6f..46be68a 100755
--- a/build
+++ b/build
@@ -21,6 +21,8 @@ install: build
install -d -m "$${mode}" "base-files.data/$${dir}"; \
done <'../dirs.$(OPK_HOST_ARCH_KERNEL)'
ln -s share/man base-files.data/usr/local/man
+ ln -s /run base-files.data/var/run
+ ln -s /run/lock base-files.data/var/lock
# Install base files.
for file in /etc/issue /etc/motd; do \
sed "$(script)" "src/$${file}" >"base-files.data/$${file}"; \
diff --git a/dirs b/dirs
index e833ce4..922651e 100644
--- a/dirs
+++ b/dirs
@@ -9,6 +9,7 @@
0755 /mnt
0755 /opt
0750 /root
+0755 /run
0755 /sbin
0755 /srv
1755 /tmp
@@ -62,10 +63,8 @@
0755 /var/lib
0755 /var/lib/misc
0755 /var/local
-0755 /var/lock
0755 /var/log
0755 /var/mail
0755 /var/opt
-0755 /var/run
0755 /var/spool
1755 /var/tmp