summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-05-16 10:11:49 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-05-16 10:11:49 +0100
commit73d8b2456c598efaf5242d029d01750da4ee8445 (patch)
treefbddb6681f5765eb11f3d8f53790eafe4300e9c1
parent647fe7e6322efdbf76e8bc33e271a76a397e788d (diff)
downloadfhs-dirs-73d8b2456c598efaf5242d029d01750da4ee8445.tar.gz
create-fhs-dirs: var/run back to being a directory
This doesn't work when building using a staging area, since it already has a /var/run directory, which tar won't replace with a symlink. dbus also creates a directory in /var/run, so it may not cope with being ephemeral.
-rwxr-xr-xcreate-fhs-dirs2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-fhs-dirs b/create-fhs-dirs
index 498db05..d94e5f0 100755
--- a/create-fhs-dirs
+++ b/create-fhs-dirs
@@ -78,6 +78,7 @@ var/cache
var/lib
var/lock
var/log
+var/run
var/spool
var/tmp
"
@@ -90,7 +91,6 @@ done
while read link name; do
ln -s "$link" "$target/$name"
done <<EOF
-/run /var/run
/proc/mounts /etc/mtab
EOF