Bug#491321: initramfs-tools: does not support splashy
Package: initramfs-tools
Version: 0.92e
Severity: normal
While there are multiple calls to usplash in initramfs functions there
is no support for splashy. On systems that spend substantial part of
boot in the initramfs this is inadequate.
I attach a patch that should solve the problem but ideally the script
should be reworked so that the presence of splash solutions is tested
only in one place.
Thanks
Michal
--- /usr/share/initramfs-tools/scripts/functions 2008-04-02 22:19:58.000000000 +0200
+++ chroot/usr/share/initramfs-tools/scripts/functions 2008-07-18 16:12:45.000000000 +0200
@@ -25,7 +25,9 @@
{
if [ -x /sbin/usplash_write ]; then
/sbin/usplash_write "TEXT $@"
- fi
+ else ; if [ -x /sbin/splashy_update ] ; then
+ /sbin/splashy_update "TEXT $@"
+ fi ; fi
_log_msg "Begin: $@ ..."
}
@@ -33,7 +35,9 @@
{
if [ -x /sbin/usplash_write ]; then
/sbin/usplash_write "SUCCESS ok"
- fi
+ else ; if [ -x /sbin/splashy_update ] ; then
+ /sbin/splashy_update "SUCCESS ok"
+ fi ; fi
_log_msg "Done."
update_progress
}
@@ -51,14 +55,18 @@
if [ -x /sbin/usplash_write ]; then
/sbin/usplash_write "PROGRESS $PROGRESS_STATE"
- fi
+ else ; if [ -x /sbin/splashy_update ] ; then
+ /sbin/splashy_update "PROGRESS $PROGRESS_STATE"
+ fi ; fi
}
panic()
{
if [ -x /sbin/usplash_write ]; then
/sbin/usplash_write "QUIT"
- fi
+ else ; if [ -x /sbin/splashy_update ] ; then
+ /sbin/splashy_update "QUIT"
+ fi ; fi
# Disallow console access
if [ -n "${panic}" ]; then
sleep ${panic}
Reply to: