fix missing /run/lock in docker base image BZ#1343138

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
This commit is contained in:
Adam Miller 2016-07-22 15:26:49 -05:00
parent 63bc5b44b7
commit 96a6711bb7
1 changed files with 7 additions and 3 deletions

View File

@ -83,6 +83,10 @@ rm -f /tmp/ks-script*
#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
# Fix /run/lock breakage since it's not tmpfs in docker
umount /run
systemd-tmpfiles --create --boot
rm -f /etc/machine-id
%end