mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +00:00
fix missing /run/lock in docker base image BZ#1343138
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
This commit is contained in:
parent
e1d8fc75bc
commit
dfde534098
@ -76,6 +76,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