From: Harald Hoyer Date: Wed, 18 Apr 2012 11:14:55 +0000 (+0200) Subject: Makefile: do not install systemd service in reboot X-Git-Tag: 019~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2de297334b4e186c1c823e8a1e04f46ae46b899a;p=thirdparty%2Fdracut.git Makefile: do not install systemd service in reboot shutdown is enough. It is pulled in on reboot. --- diff --git a/Makefile b/Makefile index c62aae198..5ce177838 100644 --- 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