summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rw-r--r--units/rescue.service.m4.in2
-rw-r--r--units/rescue.target4
3 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index e9ac82c049..4c1b295cc5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1446,9 +1446,9 @@ systemd-install-hook:
mkdir -p $(DESTDIR)$(systemunitdir)/sockets.target.wants
ln -sf ../systemd-udev-control.socket $(DESTDIR)$(systemunitdir)/sockets.target.wants/systemd-udev-control.socket
ln -sf ../systemd-udev-kernel.socket $(DESTDIR)$(systemunitdir)/sockets.target.wants/systemd-udev-kernel.socket
- mkdir -p $(DESTDIR)$(systemunitdir)/basic.target.wants
- ln -sf ../systemd-udev.service $(DESTDIR)$(systemunitdir)/basic.target.wants/systemd-udev.service
- ln -sf ../systemd-udev-trigger.service $(DESTDIR)$(systemunitdir)/basic.target.wants/systemd-udev-trigger.service
+ mkdir -p $(DESTDIR)$(systemunitdir)/sysinit.target.wants
+ ln -sf ../systemd-udev.service $(DESTDIR)$(systemunitdir)/sysinit.target.wants/systemd-udev.service
+ ln -sf ../systemd-udev-trigger.service $(DESTDIR)$(systemunitdir)/sysinit.target.wants/systemd-udev-trigger.service
INSTALL_DATA_HOOKS += systemd-install-hook
diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in
index 75b9fde278..5fb82e614d 100644
--- a/units/rescue.service.m4.in
+++ b/units/rescue.service.m4.in
@@ -9,7 +9,7 @@
Description=Rescue Shell
DefaultDependencies=no
Conflicts=shutdown.target
-After=basic.target plymouth-start.service
+After=sysinit.target plymouth-start.service
Before=shutdown.target
[Service]
diff --git a/units/rescue.target b/units/rescue.target
index c17a4e12d0..3f59b14339 100644
--- a/units/rescue.target
+++ b/units/rescue.target
@@ -8,8 +8,8 @@
[Unit]
Description=Rescue Mode
Documentation=man:systemd.special(7)
-Requires=basic.target rescue.service
-After=basic.target rescue.service
+Requires=sysinit.target rescue.service
+After=sysinit.target rescue.service
AllowIsolate=yes
[Install]