I've bisected this down to a single upstream commit.  At the moment I'm
at a complete loss how this commit has any effect on the display of
text.

commit 3f8bd998dcc6d592ffd5d3aefad06f0bbf28a725
Author: Ray Strode <[email protected]>
Date:   Fri Jun 8 16:52:29 2012 -0400

    script: seed random number generator
    
    Most splash plugins that use random numbers
    seed the random number generator with the
    current time, but script fails, too.
    
    This commit fixes that.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=42632

diff --git a/src/plugins/splash/script/script-lib-math.c 
b/src/plugins/splash/script/script-lib-math.c
index 383fe46..a1afc04 100644
--- a/src/plugins/splash/script/script-lib-math.c
+++ b/src/plugins/splash/script/script-lib-math.c
@@ -65,6 +65,8 @@ script_lib_math_data_t *script_lib_math_setup (script_state_t 
*state)
 {
   script_lib_math_data_t *data = malloc (sizeof (script_lib_math_data_t));
 
+  srand ((int) ply_get_timestamp ());
+
   script_obj_t *math_hash = script_obj_hash_get_element (state->global, 
"Math");
   script_add_native_function (math_hash,
                               "Cos",


** Bug watch added: freedesktop.org Bugzilla #42632
   https://bugs.freedesktop.org/show_bug.cgi?id=42632

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1187318

Title:
  Splash skips text when asking for LUKS password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1187318/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to