diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-22 09:13:14 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-25 07:56:12 +0100 |
commit | cbd69dc6ff323f269493489bc061ae0400cb63be (patch) | |
tree | 9c75f5c3cf58182a545270d5e49a99b4350581ec /Makefile | |
parent | cb8def95c42c90b07d737f303458731840e2da1f (diff) | |
download | dracut-cbd69dc6ff323f269493489bc061ae0400cb63be.tar.gz dracut-cbd69dc6ff323f269493489bc061ae0400cb63be.tar.bz2 dracut-cbd69dc6ff323f269493489bc061ae0400cb63be.zip |
install dracut-*.service units
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -30,8 +30,7 @@ man8pages = dracut.8 \ modules.d/98systemd/dracut-pre-mount.service.8 \ modules.d/98systemd/dracut-pre-pivot.service.8 \ modules.d/98systemd/dracut-pre-trigger.service.8 \ - modules.d/98systemd/dracut-pre-udev.service.8 \ - modules.d/98systemd/udevadm-cleanup-db.service.8 + modules.d/98systemd/dracut-pre-udev.service.8 manpages = $(man1pages) $(man5pages) $(man7pages) $(man8pages) @@ -114,6 +113,20 @@ endif mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \ ln -s ../dracut-shutdown.service \ $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \ + mkdir -p $(DESTDIR)$(systemdsystemunitdir)/initrd.target.wants; \ + for i in \ + dracut-cmdline.service \ + dracut-initqueue.service \ + dracut-mount.service \ + dracut-pre-mount.service \ + dracut-pre-pivot.service \ + dracut-pre-trigger.service \ + dracut-pre-udev.service \ + ; do \ + install -m 0644 modules.d/98systemd/$$i $(DESTDIR)$(systemdsystemunitdir); \ + ln -s ../$$i \ + $(DESTDIR)$(systemdsystemunitdir)/initrd.target.wants/$i; \ + done \ fi if [ -f install/dracut-install ]; then \ install -m 0755 install/dracut-install $(DESTDIR)$(pkglibdir)/dracut-install; \ |