]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Makefile: do not install systemd service in reboot
authorHarald Hoyer <harald@redhat.com>
Wed, 18 Apr 2012 11:14:55 +0000 (13:14 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 19 Apr 2012 09:59:39 +0000 (11:59 +0200)
shutdown is enough. It is pulled in on reboot.

Makefile

index c62aae198cbb745ea355b8b62c0c1afc7ac8ef54..5ce177838aabd8113bc45c09593dd92d8352bfcb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -57,11 +57,8 @@ install: doc
        if [ -n "$(systemdsystemunitdir)" ]; then \
                mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
                install -m 0644 dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir); \
-               mkdir -p $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants; \
                mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
                ln -s ../dracut-shutdown.service \
-               $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants/dracut-shutdown.service; \
-               ln -s ../dracut-shutdown.service \
                $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
        fi