]> git.ipfire.org Git - thirdparty/dracut.git/blobdiff - Makefile
dracut-shutdown now executes the unpacking on ExecStop
[thirdparty/dracut.git] / Makefile
index f68960a03547630dbf8f521d8bcb4671383e18db..f8e899e7fb8d6a8195d569cb9bd42c628d8d8298 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -125,9 +125,9 @@ endif
        if [ -n "$(systemdsystemunitdir)" ]; then \
                mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
                ln -srf $(DESTDIR)$(pkglibdir)/modules.d/98systemd/dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir)/dracut-shutdown.service; \
-               mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
+               mkdir -p $(DESTDIR)$(systemdsystemunitdir)/sysinit.target.wants; \
                ln -s ../dracut-shutdown.service \
-               $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
+               $(DESTDIR)$(systemdsystemunitdir)/sysinit.target.wants/dracut-shutdown.service; \
                mkdir -p $(DESTDIR)$(systemdsystemunitdir)/initrd.target.wants; \
                for i in \
                    dracut-cmdline.service \