Make sure var/run is not a symlink on s390x (#787217)

This commit is contained in:
Martin Gracik 2012-02-07 17:09:59 +01:00
parent 5af1ea948e
commit 08e7a19f42

View File

@ -82,6 +82,11 @@ replace "root:\*:" "root::" etc/shadow
runcmd ssh-keygen -q -C "" -N "" -t dsa -f ${root}/etc/ssh/ssh_host_dsa_key
chmod etc/ssh/ssh_host*_key 600
chmod etc/ssh/ssh_host*_key.pub 644
## var/run is a symlink to tmpfs, so the created dbus directory does not stay
remove var/run
remove var/lock
move run var/run
symlink run/lock var/lock
mkdir var/run/dbus
%endif