Make sure var/run is not a symlink on s390x (#787217)
This commit is contained in:
parent
ca5454d131
commit
2e08d3706c
@ -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
|
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 600
|
||||||
chmod etc/ssh/ssh_host*_key.pub 644
|
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
|
mkdir var/run/dbus
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user