This fixes slow (e.g. mesa) startup.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I10ef1e14ca97370c59984b5d848b90e6cbb9d40b
echo "Waiting for compositor to initialize (+60sec)."
sleep 60
fi
+if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then
+# e.g. qemu-system-arm takes loooong
+ echo "Waiting for compositor to initialize (+120sec)."
+ sleep 120
+fi
+
if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then
echo "Marker ('Usable area:') not found. Dumping log."
echo "##################################"