Blame 0020-Makefile-do-not-install-systemd-service-in-reboot.patch

Harald Hoyer 1f6198
From 2de297334b4e186c1c823e8a1e04f46ae46b899a Mon Sep 17 00:00:00 2001
Harald Hoyer 1f6198
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 1f6198
Date: Wed, 18 Apr 2012 13:14:55 +0200
Harald Hoyer 1f6198
Subject: [PATCH] Makefile: do not install systemd service in reboot
Harald Hoyer 1f6198
Harald Hoyer 1f6198
shutdown is enough. It is pulled in on reboot.
Harald Hoyer 1f6198
---
Harald Hoyer 1f6198
 Makefile |    3 ---
Harald Hoyer 0c26bf
 1 Datei geƤndert, 3 Zeilen entfernt(-)
Harald Hoyer 1f6198
Harald Hoyer 1f6198
diff --git a/Makefile b/Makefile
Harald Hoyer 1f6198
index c62aae1..5ce1778 100644
Harald Hoyer 1f6198
--- a/Makefile
Harald Hoyer 1f6198
+++ b/Makefile
Harald Hoyer 1f6198
@@ -57,11 +57,8 @@ install: doc
Harald Hoyer 1f6198
 	if [ -n "$(systemdsystemunitdir)" ]; then \
Harald Hoyer 1f6198
 		mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
Harald Hoyer 1f6198
 		install -m 0644 dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir); \
Harald Hoyer 1f6198
-		mkdir -p $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants; \
Harald Hoyer 1f6198
 		mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
Harald Hoyer 1f6198
 		ln -s ../dracut-shutdown.service \
Harald Hoyer 1f6198
-		$(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants/dracut-shutdown.service; \
Harald Hoyer 1f6198
-		ln -s ../dracut-shutdown.service \
Harald Hoyer 1f6198
 		$(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
Harald Hoyer 1f6198
 	fi
Harald Hoyer 1f6198