scripts/init-top/framebuffer: Revert "framebuffer: Let udev create fb devices." (LP: #274860) This reverts commit 0aec8b0c22b7622841c4ab7a3b492b4d2657456f. udev isn't started at this point and therefore can't create framebuffer devices. This causes usplash not to run on PS3. diff --git a/scripts/init-top/framebuffer b/scripts/init-top/framebuffer index 95cff8d..76a4252 100755 --- a/scripts/init-top/framebuffer +++ b/scripts/init-top/framebuffer @@ -86,3 +86,13 @@ if [ -n "${FB}" ]; then modprobe -Q fbcon modprobe -Q ${FB} ${OPTS} fi + +if [ -e /proc/fb ]; then + while read fbno desc; do + if [ $(($fbno < 32)) ]; then + mknod /dev/fb${fbno} c 29 ${fbno} + fi + done < /proc/fb +else + mknod /dev/fb0 c 29 0 +fi