[systemd-commits] Makefile.am

Tom Gundersen tomegun at kemper.freedesktop.org
Fri Feb 21 10:25:16 PST 2014


 Makefile.am |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit a2fef7701ba2e0179ec2217fd562b7345b15735c
Author: Jason A. Donenfeld <Jason at zx2c4.com>
Date:   Fri Feb 21 16:36:59 2014 +0100

    install: networkd.service depend on !--disable
    
    It doesn't make any sense to symlink this unit file into /etc when the
    unit file itself isn't even installed, with --disable-networkd. This
    moves the GENERAL_ALIASES logic into the right "if" block.

diff --git a/Makefile.am b/Makefile.am
index 1fc23f7..88d0ce3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3955,6 +3955,9 @@ systemd_networkd_LDADD = \
 nodist_systemunit_DATA += \
 	units/systemd-networkd.service
 
+GENERAL_ALIASES += \
+	$(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service
+
 test_network_SOURCES = \
 	src/network/test-network.c \
 	src/network/networkd.h \
@@ -4745,7 +4748,6 @@ USER_UNIT_ALIASES += \
 
 GENERAL_ALIASES += \
 	$(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.target.wants/remote-fs.target \
-	$(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service \
 	$(systemunitdir)/getty at .service $(pkgsysconfdir)/system/getty.target.wants/getty at tty1.service \
 	$(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \
 	../system-services/org.freedesktop.systemd1.service $(dbussessionservicedir)/org.freedesktop.systemd1.service



More information about the systemd-commits mailing list