summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-09 12:41:56 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-09 13:02:36 +0200
commit2023d8eb5b1a92cb830059384f4935a42505eaaa (patch)
tree2e12c592ba52912ccdbb80dd23f4413c1c821386 /Makefile
parenta17fc9902e3ccd154765cbc8a1b7cc285072ad75 (diff)
downloaddracut-2023d8eb5b1a92cb830059384f4935a42505eaaa.tar.gz
dracut-2023d8eb5b1a92cb830059384f4935a42505eaaa.tar.bz2
dracut-2023d8eb5b1a92cb830059384f4935a42505eaaa.zip
Makefile: do not install service from 98systemd. They are copied to /run
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 07741d0d..e20ba06e 100644
--- a/Makefile
+++ b/Makefile
@@ -83,16 +83,7 @@ install: doc dracut-version.sh
ln -s dracut.cmdline.7 $(DESTDIR)$(mandir)/man7/dracut.kernel.7
if [ -n "$(systemdsystemunitdir)" ]; then \
mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
- for i in \
- modules.d/98systemd/dracut-initqueue.service \
- modules.d/98systemd/dracut-pre-pivot.service \
- modules.d/98systemd/dracut-pre-trigger.service \
- modules.d/98systemd/dracut-pre-udev.service \
- modules.d/98systemd/initrd-switch-root.service \
- modules.d/98systemd/initrd-switch-root.target \
- dracut-shutdown.service; do \
- install -m 0644 $$i $(DESTDIR)$(systemdsystemunitdir); \
- done; \
+ install -m 0644 dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir); \
mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
ln -s ../dracut-shutdown.service \
$(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \