[systemd-commits] Makefile.am tmpfiles.d/legacy.conf tmpfiles.d/systemd.conf

Kay Sievers kay at kemper.freedesktop.org
Sun Apr 3 13:12:03 PDT 2011


 Makefile.am             |   45 +++++++++++++++++++++++++--------------------
 tmpfiles.d/legacy.conf  |    1 +
 tmpfiles.d/systemd.conf |    1 -
 3 files changed, 26 insertions(+), 21 deletions(-)

New commits:
commit 5b754353282e3ba3cf9c4ffc50579aff4b7d72db
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Sun Apr 3 22:09:25 2011 +0200

    move /var/lock to HAVE_SYSV_COMPAT

diff --git a/Makefile.am b/Makefile.am
index 12118b1..7bf32aa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 at .service \
 	units/serial-getty at .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 at .service.m4 \
 	units/serial-getty at .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, at rootlibexecdir\@,$(rootlibexecdir),g' \
-                -e 's, at rootbindir\@,$(rootbindir),g' \
-                -e 's, at bindir\@,$(bindir),g' \
+		-e 's, at rootbindir\@,$(rootbindir),g' \
+		-e 's, at bindir\@,$(bindir),g' \
 		-e 's, at SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
 		-e 's, at SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
 		-e 's, at 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 )
diff --git a/tmpfiles.d/legacy.conf b/tmpfiles.d/legacy.conf
index fff2779..9198e89 100644
--- a/tmpfiles.d/legacy.conf
+++ b/tmpfiles.d/legacy.conf
@@ -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 -
diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
index ab6f201..2ab8e2b 100644
--- a/tmpfiles.d/systemd.conf
+++ b/tmpfiles.d/systemd.conf
@@ -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 -
 



More information about the systemd-commits mailing list