rpms/plymouth/devel plymouth-0.6.0-fix-tty1-on-runlevel3.patch, NONE, 1.1 plymouth.spec, 1.68, 1.69

Ray Strode rstrode at fedoraproject.org
Mon Oct 20 20:58:29 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/plymouth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29385

Modified Files:
	plymouth.spec 
Added Files:
	plymouth-0.6.0-fix-tty1-on-runlevel3.patch 
Log Message:
- Put tty1 back in "cooked" mode when going into runlevel 3
  (bug 467207)


plymouth-0.6.0-fix-tty1-on-runlevel3.patch:

--- NEW FILE plymouth-0.6.0-fix-tty1-on-runlevel3.patch ---
commit ea15d24f3ee82aab3981c2516e09831a7176460c
Author: Ray Strode <rstrode at 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;
     }


Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth.spec,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- plymouth.spec	17 Oct 2008 20:54:57 -0000	1.68
+++ plymouth.spec	20 Oct 2008 20:57:58 -0000	1.69
@@ -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-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 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .fix-tty1-on-runlevel3
 
 %build
 %configure --enable-tracing --disable-tests --without-boot-entry \
@@ -289,6 +292,10 @@
 %{_libdir}/plymouth/solar.so
 
 %changelog
+* Mon Oct 20 2008 Ray Strode <rstrode at 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 at 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




More information about the scm-commits mailing list