build-sys: do not install ctrl-alt-del.target symlink twice
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 12 Nov 2016 15:05:24 +0000 (10:05 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 12 Nov 2016 15:14:10 +0000 (10:14 -0500)
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.

Makefile.am

index 50da458..82879a1 100644 (file)
@@ -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 = \