Public bug reported:
Binary package hint: initramfs-tools
In script/local_premount/resume, while waiting
for the resume device, usplash timeout is set to
the delay time.
In theory this could work, but in practice, if the script
wait the full delay time (device don't appear), usplash
timeout is often reached, making it disappear.
I suggest the following path to fix the issue :
--- scripts/local-premount/resume 2008-03-01 03:31:26.000000000 +0100
+++ scripts/local-premount/resume2 2008-04-09 00:32:11.000000000 +0200
@@ -38,7 +38,7 @@
slumber=${RESUMEDELAY}
fi
if [ -x /sbin/usplash_write ]; then
- /sbin/usplash_write "TIMEOUT ${slumber}" || true
+ /sbin/usplash_write "TIMEOUT $(( ${slumber} + 2 ))" || true
fi
slumber=$(( ${slumber} * 10 ))
@@ -47,6 +47,10 @@
slumber=$(( ${slumber} - 1 ))
[ ${slumber} -gt 0 ] || break
done
+
+ if [ -x /sbin/usplash_write ]; then
+ /sbin/usplash_write "TIMEOUT 15" || true
+ fi
if [ ${slumber} -gt 0 ]; then
log_end_msg 0
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
--
Usplash timeout too low in script/local_premount/resume : stop usplash
https://bugs.launchpad.net/bugs/214271
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs