SHA256
1
0
forked from pool/systemd
Dr. Werner Fink 2011-02-17 14:08:02 +00:00 committed by Git OBS Bridge
parent 06c3f21a44
commit 46708e7d42
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- units/getty@.service.m4
+++ units/getty@.service.m4 2011-02-17 14:02:02.883926195 +0000
@@ -27,6 +27,9 @@ Before=getty.target
[Service]
Environment=TERM=linux
ExecStart=-/sbin/agetty %I 38400
+m4_ifdef(`TARGET_SUSE',
+ExecStop=/sbin/vhangup %I
+)m4_dnl
Restart=always
RestartSec=0
UtmpIdentifier=%I

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 17 15:04:44 CET 2011 - werner@suse.de
- Add temporary workaround for bnc#652633, that is do a vhangup
to all processes on a tty line used for a getty
-------------------------------------------------------------------
Wed Feb 16 21:39:20 CET 2011 - kay.sievers@novell.com

View File

@ -43,6 +43,7 @@ Conflicts: mkinitrd < 2.6.0-5
Source0: http://www.freedesktop.org/software/systemd/releases/%{name}-%{version}.tar.bz2
Source1: systemd-rpmlintrc
Patch1: 0001-Add-bootsplash-handling-for-password-dialogs.patch
Patch2: 0002-Add-vhangup-for-sending-HUP-to-all-procs-on-tty.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@ -88,6 +89,7 @@ Plymouth integration for systemd
%prep
%setup -q
%patch1 -p1
%patch2 -p0
%build
autoreconf -fiv