- Put tty1 back in "cooked" mode when going into runlevel 3 (bug 467207)

This commit is contained in:
Ray Strode 2008-10-20 20:57:58 +00:00
parent c42bfc1fbf
commit 15ff91d3e6
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,23 @@
commit ea15d24f3ee82aab3981c2516e09831a7176460c
Author: Ray Strode <rstrode@redhat.com>
Date: Mon Oct 20 16:51:35 2008 -0400
At exit do on_hide_splash not ply_boot_splash_hide
Calling just ply_boot_splash_hide meant that the
terminal wasn't getting reset properly causing
tty1 to misbehave.
diff --git a/src/main.c b/src/main.c
index d37c1b0..f35178a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -373,7 +373,7 @@ on_quit (state_t *state,
if (state->boot_splash != NULL)
{
if (!retain_splash)
- ply_boot_splash_hide (state->boot_splash);
+ on_hide_splash (state);
ply_boot_splash_free (state->boot_splash);
state->boot_splash = NULL;
}

View File

@ -5,7 +5,7 @@
Summary: Plymouth Graphical Boot Animation and Logger
Name: plymouth
Version: 0.6.0
Release: 0.2008.10.17.1%{?dist}
Release: 0.2008.10.17.2%{?dist}
License: GPLv2+
Group: System Environment/Base
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@ -19,6 +19,8 @@ Requires: system-logos >= 9.0.1
Requires: system-plymouth-plugin >= %{version}-%{release}
Requires(post): plymouth-scripts
Patch0: plymouth-0.6.0-fix-tty1-on-runlevel3.patch
%description
Plymouth provides an attractive graphical boot animation in
place of the text messages that normally get shown. Text
@ -139,6 +141,7 @@ Plymouth. It features a blue flamed sun with animated solar flares.
%prep
%setup -q
%patch0 -p1 -b .fix-tty1-on-runlevel3
%build
%configure --enable-tracing --disable-tests --without-boot-entry \
@ -289,6 +292,10 @@ fi
%{_libdir}/plymouth/solar.so
%changelog
* Mon Oct 20 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.10.17.2
- Put tty1 back in "cooked" mode when going into runlevel 3
(bug 467207)
* Fri Oct 17 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.10.17.1
- Clear screen in details plugin when it's done
- Make plymouth-update-initrd a small wrapper around mkinitrd instead