plymouth/plymouth-0.8.5-dont_disable_fb_if_console_cmdline_is_passed.patch

18 lines
771 B
Diff

diff -Nru plymouth-0.8.5.1.orig/src/main.c plymouth-0.8.5.1/src/main.c
--- plymouth-0.8.5.1.orig/src/main.c 2012-06-06 20:25:04.000000000 +0200
+++ plymouth-0.8.5.1/src/main.c 2012-09-02 17:14:47.163693554 +0200
@@ -1924,13 +1924,6 @@
console_length = strcspn (remaining_file_contents, " \n\t\v");
console = strndup (remaining_file_contents, console_length);
- /* If this console is anything besides tty0, then the user is sort
- * of a weird case (uses a serial console or whatever) and they
- * most likely don't want a graphical splash, so force details.
- */
- if (strcmp (console, "tty0") != 0)
- state->should_force_details = true;
-
asprintf (&console_device, "/dev/%s", console);
free (console);