summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-12 10:05:24 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-17 00:24:43 -0500
commit2eaef25e43b8df349906b50ff95c4df383b7ba5a (patch)
tree9b95324017bc4ef6eccf4edeee59584761881355
parenta839ee75d85c4f1d3183b8955c62d54f6a8dec88 (diff)
build-sys: do not install ctrl-alt-del.target symlink twice
It was a harmless but pointless duplication. Fixes #4655. Note: in general we try to install as little as possible in /etc/systemd/{system,user}. We only install .wants links there for units which are "user configurable", i.e. which have an [Install] section. Most our units and aliases are not user configurable, do not have an [Install] section, and must be symlinked statically during installation. A few units do have an [Install] section, and are enabled through symlinks in /etc/ during installation using GENERAL_ALIASES. It *would* be possible to not create those symlinks, and instead require 'systemctl preset' to be invoked after installation, but GENERAL_ALIASES works well enough.
-rw-r--r--Makefile.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f7652c2346..35ec60f736 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -633,7 +633,6 @@ EXTRA_DIST += \
units/halt-local.service.in
GENERAL_ALIASES += \
- $(systemunitdir)/reboot.target $(pkgsysconfdir)/system/ctrl-alt-del.target \
$(systemunitdir)/machines.target $(pkgsysconfdir)/system/multi-user.target.wants/machines.target
dist_doc_DATA = \