forked from pool/systemd
6c729cff07
- Add multiple-sulogin.patch: allows multiple sulogin instance (bnc#793182). (please forward to Factory) OBS-URL: https://build.opensuse.org/request/show/147937 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=329
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
Index: systemd-195/units/getty@.service.m4
|
|
===================================================================
|
|
--- systemd-195.orig/units/getty@.service.m4
|
|
+++ systemd-195/units/getty@.service.m4
|
|
@@ -8,6 +8,7 @@
|
|
[Unit]
|
|
Description=Getty on %I
|
|
Documentation=man:agetty(8)
|
|
+Conflicts=rescue.service
|
|
After=systemd-user-sessions.service plymouth-quit-wait.service
|
|
m4_ifdef(`TARGET_FEDORA',
|
|
After=rc-local.service
|
|
Index: systemd-195/units/rescue.target
|
|
===================================================================
|
|
--- systemd-195.orig/units/rescue.target
|
|
+++ systemd-195/units/rescue.target
|
|
@@ -10,6 +10,7 @@ Description=Rescue Mode
|
|
Documentation=man:systemd.special(7)
|
|
Requires=sysinit.target rescue.service
|
|
After=sysinit.target rescue.service
|
|
+Conflicts=getty.target
|
|
AllowIsolate=yes
|
|
|
|
[Install]
|
|
Index: systemd-195/units/serial-getty@.service.m4
|
|
===================================================================
|
|
--- systemd-195.orig/units/serial-getty@.service.m4
|
|
+++ systemd-195/units/serial-getty@.service.m4
|
|
@@ -9,6 +9,7 @@
|
|
Description=Serial Getty on %I
|
|
Documentation=man:agetty(8) man:systemd-getty-generator(8)
|
|
BindsTo=dev-%i.device
|
|
+Conflicts=rescue.service
|
|
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
|
|
m4_ifdef(`TARGET_FEDORA',
|
|
After=rc-local.service
|