--- systemd-232.orig/Makefile.am	2016-11-03 18:16:42.000000000 +0100
+++ systemd-232/Makefile.am	2016-12-27 19:28:30.933147951 +0100
@@ -303,9 +303,9 @@ install-aliases-hook:
 	set -- $(SYSTEM_UNIT_ALIASES) && \
 		dir=$(systemunitdir) && $(install-aliases)
 	set -- $(USER_UNIT_ALIASES) && \
-		dir=$(userunitdir) && $(install-relative-aliases)
+		dir=$(userunitdir) && $(install-aliases)
 	set -- $(GENERAL_ALIASES) && \
-		dir= && $(install-relative-aliases)
+		dir= && $(install-aliases)
 
 define install-aliases
 	while [ -n "$$1" ]; do \
@@ -316,15 +316,6 @@ define install-aliases
 	done
 endef
 
-define install-relative-aliases
-	while [ -n "$$1" ]; do \
-		$(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
-		rm -f $(DESTDIR)$$dir/$$2 && \
-		$(LN_S) --relative $(DESTDIR)$$1 $(DESTDIR)$$dir/$$2 && \
-		shift 2 || exit $$?; \
-	done
-endef
-
 install-touch-usr-hook:
 	touch -c $(DESTDIR)/$(prefix)
 
@@ -5014,39 +5005,6 @@ EXTRA_DIST += \
 	src/timesync/timesyncd.conf.in
 
 # ------------------------------------------------------------------------------
-test_nss_SOURCES = \
-	src/test/test-nss.c
-
-test_nss_LDADD = \
-	libsystemd-internal.la \
-	libbasic.la \
-	-ldl
-
-manual_tests += \
-	test-nss
-
-# ------------------------------------------------------------------------------
-libnss_systemd_la_SOURCES = \
-	src/nss-systemd/nss-systemd.sym \
-	src/nss-systemd/nss-systemd.c
-
-libnss_systemd_la_LDFLAGS = \
-	$(AM_LDFLAGS) \
-	-module \
-	-export-dynamic \
-	-avoid-version \
-	-shared \
-	-shrext .so.2 \
-	-Wl,--version-script=$(top_srcdir)/src/nss-systemd/nss-systemd.sym
-
-libnss_systemd_la_LIBADD = \
-	libsystemd-internal.la \
-	libbasic.la
-
-rootlib_LTLIBRARIES += \
-	libnss_systemd.la
-
-# ------------------------------------------------------------------------------
 if HAVE_MYHOSTNAME
 libnss_myhostname_la_SOURCES = \
 	src/nss-myhostname/nss-myhostname.sym \
