]> err.no Git - systemd/commitdiff
move /var/lock to HAVE_SYSV_COMPAT
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 3 Apr 2011 20:09:25 +0000 (22:09 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Sun, 3 Apr 2011 20:09:25 +0000 (22:09 +0200)
Makefile.am
tmpfiles.d/legacy.conf
tmpfiles.d/systemd.conf

index 12118b1cc08e44e577c0ac8f81ccb6efdea44046..7bf32aa83225728d42af2f396a33f0b5be914f12 100644 (file)
@@ -58,7 +58,7 @@ AM_CPPFLAGS = \
        -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
        -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
        -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
-        -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
+       -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
        -DRUNTIME_DIR=\"/run\" \
        -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
        -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
@@ -112,10 +112,10 @@ rootbin_PROGRAMS = \
 bin_PROGRAMS = \
        systemd-cgls \
        systemd-stdio-bridge \
-        systemd-nspawn
+       systemd-nspawn
 
 dist_bin_SCRIPTS = \
-        src/systemd-analyze
+       src/systemd-analyze
 
 if HAVE_GTK
 bin_PROGRAMS += \
@@ -147,7 +147,7 @@ rootlibexec_PROGRAMS = \
        systemd-sysctl
 
 systemgenerator_PROGRAMS = \
-        systemd-getty-generator
+       systemd-getty-generator
 
 if HAVE_LIBCRYPTSETUP
 rootlibexec_PROGRAMS += \
@@ -201,7 +201,7 @@ dbusinterface_DATA = \
        org.freedesktop.systemd1.Path.xml
 
 dist_bashcompletion_DATA = \
-        src/systemctl-bash-completion.sh
+       src/systemctl-bash-completion.sh
 
 dist_tmpfiles_DATA = \
        tmpfiles.d/systemd.conf \
@@ -209,7 +209,7 @@ dist_tmpfiles_DATA = \
 
 if HAVE_SYSV_COMPAT
 dist_tmpfiles_DATA += \
-        tmpfiles.d/legacy.conf
+       tmpfiles.d/legacy.conf
 endif
 
 dist_systemunit_DATA = \
@@ -253,7 +253,6 @@ dist_systemunit_DATA = \
        units/sys-kernel-debug.mount \
        units/sys-kernel-security.automount \
        units/sys-kernel-security.mount \
-       units/var-lock.mount \
        units/var-run.mount \
        units/media.mount \
        units/hwclock-load.service \
@@ -270,10 +269,16 @@ dist_systemunit_DATA = \
        units/systemd-ask-password-console.path \
        units/syslog.target
 
+if HAVE_SYSV_COMPAT
+dist_systemunit_DATA += \
+       units/var-lock.mount
+endif
+
+
 nodist_systemunit_DATA = \
        units/getty@.service \
        units/serial-getty@.service \
-        units/console-shell.service \
+       units/console-shell.service \
        units/remote-fs.target \
        units/systemd-initctl.service \
        units/systemd-logger.service \
@@ -315,7 +320,7 @@ nodist_userunit_DATA = \
 EXTRA_DIST = \
        units/getty@.service.m4 \
        units/serial-getty@.service.m4 \
-        units/console-shell.service.m4 \
+       units/console-shell.service.m4 \
        units/remote-fs.target.m4 \
        units/rescue.service.m4 \
        units/systemd-initctl.service.in \
@@ -505,7 +510,7 @@ EXTRA_DIST += \
        ${libsystemd_core_la_SOURCES:.c=.h} \
        ${libsystemd_daemon_la_SOURCES:.c=.h} \
        src/macro.h \
-        src/def.h \
+       src/def.h \
        src/ioprio.h \
        src/missing.h \
        src/list.h \
@@ -1105,8 +1110,8 @@ pam_systemd_la_LIBADD = \
 SED_PROCESS = \
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
        $(SED)  -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
-                -e 's,@rootbindir\@,$(rootbindir),g' \
-                -e 's,@bindir\@,$(bindir),g' \
+               -e 's,@rootbindir\@,$(rootbindir),g' \
+               -e 's,@bindir\@,$(bindir),g' \
                -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
                -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
                -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
@@ -1235,12 +1240,12 @@ CLEANFILES += \
 
 install-data-hook:
        $(MKDIR_P) -m 0755 \
-                $(DESTDIR)$(sysconfdir)/modules-load.d \
-                $(DESTDIR)$(tmpfilesdir) \
-                $(DESTDIR)$(sysconfdir)/sysctl.d \
-                $(DESTDIR)$(systemshutdowndir) \
-                $(DESTDIR)$(systemgeneratordir) \
-                $(DESTDIR)$(usergeneratordir)
+               $(DESTDIR)$(sysconfdir)/modules-load.d \
+               $(DESTDIR)$(tmpfilesdir) \
+               $(DESTDIR)$(sysconfdir)/sysctl.d \
+               $(DESTDIR)$(systemshutdowndir) \
+               $(DESTDIR)$(systemgeneratordir) \
+               $(DESTDIR)$(usergeneratordir)
        $(MKDIR_P) -m 0755 \
                $(DESTDIR)$(systemunitdir) \
                $(DESTDIR)$(userunitdir) \
@@ -1421,7 +1426,7 @@ if TARGET_FEDORA
        ( cd $(DESTDIR)$(systemunitdir) && \
                rm -f display-manager.service single.service && \
                $(LN_S) prefdm.service display-manager.service && \
-                $(LN_S) rescue.service single.service )
+               $(LN_S) rescue.service single.service )
        ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
                rm -f display-manager.service && \
                $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
@@ -1439,7 +1444,7 @@ if TARGET_MANDRIVA
                rm -f display-manager.service dm.service single.service && \
                $(LN_S) prefdm.service display-manager.service && \
                $(LN_S) prefdm.service dm.service && \
-                $(LN_S) rescue.service single.service )
+               $(LN_S) rescue.service single.service )
        ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
                rm -f display-manager.service && \
                $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
index fff2779e6da9126046960601e4cffe6956bddd0f..9198e89dd1097cfe365d340351c8e50b15f704ab 100644 (file)
@@ -17,5 +17,6 @@
 # On modern systems a BSD file lock is a better choice if
 # serialization is needed on those devices.
 
+d /run/lock 0755 root root -
 d /run/lock/subsys 0755 root root -
 d /run/lock/lockdev 0775 root lock -
index ab6f20116e4ed59729d717e971440aa263a34ed8..2ab8e2bba5fa07366376ef47df323e74abda493b 100644 (file)
@@ -7,7 +7,6 @@
 
 # See tmpfiles.d(5) for details
 
-d /run/lock 0755 root root -
 d /run/user 0755 root root 10d
 F /run/utmp 0664 root utmp -