forked from srbala/fedora-kickstarts
fix missing /run/lock in docker base image BZ#1343138
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
This commit is contained in:
parent
03020f4a74
commit
fb34ac6186
@ -83,6 +83,10 @@ sed -i 's/OOMScoreAdjust=-900//' /etc/systemd/system/dbus.service
|
|||||||
#Mask mount units and getty service so that we don't get login prompt
|
#Mask mount units and getty service so that we don't get login prompt
|
||||||
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
||||||
|
|
||||||
|
# Fix /run/lock breakage since it's not tmpfs in docker
|
||||||
|
umount /run
|
||||||
|
systemd-tmpfiles --create --boot
|
||||||
|
|
||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user