Accepting request 205947 from Base:System

- Add patch 
  1010-do-not-install-sulogin-unit-with-poweroff.patch
  that is do not install console-shell.service in any system target
  as this will cause automatic poweroff at boot (bnc#849071)

OBS-URL: https://build.opensuse.org/request/show/205947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=167
This commit is contained in:
Stephan Kulow 2013-11-07 08:05:11 +00:00 committed by Git OBS Bridge
parent 9cbbdd781b
commit ec448615f7
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
|
| Belongs to bnc#849071 that is do not install console-shell.service
| in any system target as this will cause automatic poweroff at boot.
|
--- systemd-208/units/console-shell.service.m4.in
+++ systemd-208/units/console-shell.service.m4.in 2013-11-06 09:35:37.958693570 +0000
@@ -26,6 +26,3 @@ StandardError=inherit
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes
-
-[Install]
-WantedBy=getty.target

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 6 09:42:05 UTC 2013 - werner@suse.de
- Add patch
1010-do-not-install-sulogin-unit-with-poweroff.patch
that is do not install console-shell.service in any system target
as this will cause automatic poweroff at boot (bnc#849071)
-------------------------------------------------------------------
Mon Nov 4 15:23:02 UTC 2013 - werner@suse.de

View File

@ -256,6 +256,8 @@ Patch1007: 1007-physical-hotplug-cpu-and-memory.patch
Patch1008: 1008-add-msft-compability-rules.patch
# PATCH-FIX-OPENSUSE 1009-make-xsltproc-use-correct-ROFF-links.patch -- Make ROFF links working again in manual pages (bnc#842844)
Patch1009: 1009-make-xsltproc-use-correct-ROFF-links.patch
# PATCH-FIX-OPENSUSE 1010-do-not-install-sulogin-unit-with-poweroff.patch -- Avoid installing console-shell.service (bnc#849071)
Patch1010: 1010-do-not-install-sulogin-unit-with-poweroff.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@ -531,6 +533,7 @@ cp %{SOURCE7} m4/
%patch1008 -p1
%endif
%patch1009 -p1
%patch1010 -p1
# ensure generate files are removed
rm -f units/emergency.service