Accepting request 201046 from Base:System

- disable plymouth in initrd if the root volume is encrypted. This
  is a workaround until plymouth is able to handle the prompt
  correctly (bnc#834063). (forwarded request 200841 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/201046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plymouth?expand=0&rev=42
This commit is contained in:
Stephan Kulow 2013-09-27 15:57:16 +00:00 committed by Git OBS Bridge
commit ea66367bc1
2 changed files with 22 additions and 14 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 26 14:52:07 UTC 2013 - lnussel@suse.de
- disable plymouth in initrd if the root volume is encrypted. This
is a workaround until plymouth is able to handle the prompt
correctly (bnc#834063).
-------------------------------------------------------------------
Wed Sep 11 01:57:40 UTC 2013 - crrodriguez@opensuse.org

View File

@ -1,8 +1,8 @@
Index: plymouth-0.8.6.1/configure.ac
Index: plymouth-0.8.8_git201309032142/configure.ac
===================================================================
--- plymouth-0.8.6.1.orig/configure.ac
+++ plymouth-0.8.6.1/configure.ac
@@ -452,6 +452,7 @@ AC_CONFIG_FILES([Makefile
--- plymouth-0.8.8_git201309032142.orig/configure.ac
+++ plymouth-0.8.8_git201309032142/configure.ac
@@ -302,6 +302,7 @@ AC_CONFIG_FILES([Makefile
themes/spinner/Makefile
themes/script/Makefile
images/Makefile
@ -10,10 +10,10 @@ Index: plymouth-0.8.6.1/configure.ac
scripts/plymouth-generate-initrd
scripts/plymouth-populate-initrd
scripts/plymouth-set-default-theme
Index: plymouth-0.8.6.1/scripts/boot-plymouth.chroot.sh
Index: plymouth-0.8.8_git201309032142/scripts/boot-plymouth.chroot.sh
===================================================================
--- /dev/null
+++ plymouth-0.8.6.1/scripts/boot-plymouth.chroot.sh
+++ plymouth-0.8.8_git201309032142/scripts/boot-plymouth.chroot.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+#%stage: setup
@ -38,15 +38,16 @@ Index: plymouth-0.8.6.1/scripts/boot-plymouth.chroot.sh
+ echo "init $init is not systemd, terminate plymouth"
+ plymouth quit
+fi
Index: plymouth-0.8.6.1/scripts/boot-plymouth.sh
Index: plymouth-0.8.8_git201309032142/scripts/boot-plymouth.sh
===================================================================
--- /dev/null
+++ plymouth-0.8.6.1/scripts/boot-plymouth.sh
@@ -0,0 +1,22 @@
+++ plymouth-0.8.8_git201309032142/scripts/boot-plymouth.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+#%stage: boot
+#%depends: start udev kms
+#%programs: /usr/bin/plymouth /usr/sbin/plymouthd
+#%if: -z "$root_luks" -a -z "$luks"
+
+enable_plymouth=1
+for o in $(cat /proc/cmdline) ; do
@ -65,10 +66,10 @@ Index: plymouth-0.8.6.1/scripts/boot-plymouth.sh
+ plymouth show-splash
+fi
+
Index: plymouth-0.8.6.1/scripts/setup-plymouth.sh.in
Index: plymouth-0.8.8_git201309032142/scripts/setup-plymouth.sh.in
===================================================================
--- /dev/null
+++ plymouth-0.8.6.1/scripts/setup-plymouth.sh.in
+++ plymouth-0.8.8_git201309032142/scripts/setup-plymouth.sh.in
@@ -0,0 +1,59 @@
+#!/bin/bash
+#
@ -129,10 +130,10 @@ Index: plymouth-0.8.6.1/scripts/setup-plymouth.sh.in
+fi
+install -D ${pangobasicfc} $tmp_mnt/${pangobasicfc}
+mkdir -p $tmp_mnt/var/cache/fontconfig
Index: plymouth-0.8.6.1/scripts/plymouth-update-initrd
Index: plymouth-0.8.8_git201309032142/scripts/plymouth-update-initrd
===================================================================
--- plymouth-0.8.6.1.orig/scripts/plymouth-update-initrd
+++ plymouth-0.8.6.1/scripts/plymouth-update-initrd
--- plymouth-0.8.8_git201309032142.orig/scripts/plymouth-update-initrd
+++ plymouth-0.8.8_git201309032142/scripts/plymouth-update-initrd
@@ -1,2 +1,2 @@
#!/bin/bash
-mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r)