]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - systemd/systemd.nm
systemd: Add legacy tmpfile for autocreate /run/lock directory.
[people/ms/ipfire-3.x.git] / systemd / systemd.nm
index 0bf417a24532d84ef93683692f49f5e380fa4a3e..d93414bc3f712bf8d3398cb8817e1ba89c9886ce 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = systemd
 version    = 196
-release    = 2
+release    = 3
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
 groups     = System/Base
@@ -117,6 +117,9 @@ build
                        -e "s/^#ForwardToSyslog=.*$/ForwardToSyslog=no/" \
                        -e "s/^#ImportKernel=.*$/ImportKernel=yes/" \
                        -i %{BUILDROOT}/etc/systemd/journald.conf
+
+               # Install legacy tmpfile to autocreate /run/lock on startup.
+               install -v -m 644 %{DIR_APP}/tmpfiles.d/legacy.conf %{BUILDROOT}%{prefix}/lib/tmpfiles.d/
        end
 end