[systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

Auke Kok auke-jan.h.kok at intel.com
Mon Feb 11 16:34:27 PST 2013


Contrary to it's own packaging guidelines, these symlinks are created
in /etc/. While technically not a problem, this makes it harder
for folks installing from git that want to override these settings
(either masking or otherwise).

Moving the links to $(systemunitdir) resolves.
---
 Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 2cec04a..8945cfa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3622,8 +3622,8 @@ USER_UNIT_ALIASES += \
 	$(systemunitdir)/sound.target sound.target
 
 GENERAL_ALIASES += \
-	$(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.target.wants/remote-fs.target \
-	$(systemunitdir)/getty at .service $(pkgsysconfdir)/system/getty.target.wants/getty at tty1.service \
+	$(systemunitdir)/remote-fs.target $(systemunitdir)/multi-user.target.wants/remote-fs.target \
+	$(systemunitdir)/getty at .service $(systemunitdir)/getty.target.wants/getty at tty1.service \
 	$(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \
 	../system-services/org.freedesktop.systemd1.service $(dbussessionservicedir)/org.freedesktop.systemd1.service
 
@@ -3650,8 +3650,8 @@ INSTALL_DIRS += \
 	\
 	$(userunitdir) \
 	$(pkgsysconfdir)/system \
-	$(pkgsysconfdir)/system/multi-user.target.wants \
-	$(pkgsysconfdir)/system/getty.target.wants \
+	$(systemunitdir)/multi-user.target.wants \
+	$(systemunitdir)/getty.target.wants \
 	$(pkgsysconfdir)/user \
 	$(dbussessionservicedir) \
 	$(sysconfdir)/xdg/systemd
-- 
1.8.1



More information about the systemd-devel mailing list