From 0cea859c4f73dabfe21619e61d204436121d6394 Mon Sep 17 00:00:00 2001 From: alihanozturk Date: Sun, 21 Aug 2016 18:00:36 +0300 Subject: [PATCH] plymouth fix --- system/boot/plymouth/actions.py | 13 ++++++------ .../boot/plymouth/files/0008-show-delay.patch | 21 +++++++++++++++++++ .../files/pisilinux/add-pisilinux-theme.patch | 3 ++- .../pisilinux/plymouth-update-initrd.patch | 9 ++++++++ 4 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 system/boot/plymouth/files/0008-show-delay.patch create mode 100644 system/boot/plymouth/files/pisilinux/plymouth-update-initrd.patch diff --git a/system/boot/plymouth/actions.py b/system/boot/plymouth/actions.py index c2c8f91e8a..3068410f94 100644 --- a/system/boot/plymouth/actions.py +++ b/system/boot/plymouth/actions.py @@ -22,19 +22,20 @@ def setup(): # The end-start colors seems to be used by the two-step plugin # Disable nouveau drm renderer as it causes hangs when starting X server autotools.configure("--enable-tracing \ + --enable-static \ + --enable-pango \ --with-logo=%s \ --with-release-file=/etc/pisilinux-release \ --with-background-color=0x000000 \ --with-background-end-color-stop=0x000000 \ --with-background-start-color-stop=0x000000 \ --with-system-root-install \ - --with-boot-tty=/dev/tty7 \ + --with-boot-tty=/dev/tty1 \ --with-shutdown-tty=/dev/tty1 \ - --with-log-viewer \ - --disable-libdrm_nouveau \ - --disable-tests \ - --disable-static \ - --enable-gdm-transition \ + --disable-silent-rules \ + --disable-systemd-integration \ + --disable-gdm-transition \ + --without-log-viewer \ --without-rhgb-compat-link" % LOGO_FILE) def build(): diff --git a/system/boot/plymouth/files/0008-show-delay.patch b/system/boot/plymouth/files/0008-show-delay.patch new file mode 100644 index 0000000000..514ae9c1ed --- /dev/null +++ b/system/boot/plymouth/files/0008-show-delay.patch @@ -0,0 +1,21 @@ +Author: Daniel Baumann +Description: Setting no delay for fast booting machines (Closes: #752746). + +Index: plymouth-0.8.8/src/plymouthd.defaults +=================================================================== +--- plymouth-0.8.8.orig/src/plymouthd.conf ++++ plymouth-0.8.8/src/plymouthd.conf +@@ -1,3 +1,4 @@ + # Administrator customizations go in this file + #[Daemon] + #Theme=fade-in ++#ShowDelay=0 +Index: plymouth-0.8.8/src/plymouthd.defaults +=================================================================== +--- plymouth-0.8.8.orig/src/plymouthd.defaults ++++ plymouth-0.8.8/src/plymouthd.defaults +@@ -2,3 +2,4 @@ + # upgrades. + [Daemon] + Theme=spinner ++ShowDelay=0 diff --git a/system/boot/plymouth/files/pisilinux/add-pisilinux-theme.patch b/system/boot/plymouth/files/pisilinux/add-pisilinux-theme.patch index fa38debbe9..6ab5cad401 100644 --- a/system/boot/plymouth/files/pisilinux/add-pisilinux-theme.patch +++ b/system/boot/plymouth/files/pisilinux/add-pisilinux-theme.patch @@ -13,12 +13,13 @@ +#Theme=pisilinux --- plymouth-0.8.8/src/plymouthd.defaults 2012-10-26 18:01:45.000000000 +0300 +++ plymouth-0.8.8-esk/src/plymouthd.defaults 2013-01-15 05:06:37.681404525 +0200 -@@ -1,4 +1,4 @@ +@@ -1,5 +1,5 @@ # Distribution defaults. Changes to this file will get overwritten during # upgrades. [Daemon] -Theme=spinner +Theme=pisilinux + ShowDelay=0 --- plymouth-0.8.8/configure.ac 2012-10-26 18:01:45.000000000 +0300 +++ plymouth-0.8.8-esk/configure.ac 2013-01-15 05:08:54.923399773 +0200 @@ -451,6 +451,7 @@ diff --git a/system/boot/plymouth/files/pisilinux/plymouth-update-initrd.patch b/system/boot/plymouth/files/pisilinux/plymouth-update-initrd.patch new file mode 100644 index 0000000000..556eee334f --- /dev/null +++ b/system/boot/plymouth/files/pisilinux/plymouth-update-initrd.patch @@ -0,0 +1,9 @@ +diff -aur plymouth-0.9.0.src/scripts/plymouth-update-initrd plymouth-0.9.0.patch/scripts/plymouth-update-initrd +--- plymouth-0.9.0.scripts/plymouth-update-initrd 2014-01-16 08:14:47.000000000 +1100 ++++ plymouth-0.9.0.patch/scripts/plymouth-update-initrd 2014-05-21 19:04:16.802594001 +1000 +@@ -1,2 +1,5 @@ + #!/bin/bash + mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r) ++find /etc/mkinitcpio.d/ -name \*.preset -a \! -name example.preset | while read p; do ++ mkinitcpio -p $p ++done