Usplash timeout too low in script/local_premount/resume : stop usplash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
In script/
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/
+++ scripts/
@@ -38,7 +38,7 @@
slumber=
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
Changed in initramfs-tools: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Hy!
I had exactly the same problem, and made the same solution :) So This is absolutley configmed ;)