opie-taskbar: init.d/opie: explicitly shut down psplash on opie start, plus
authorPaul Sokolovsky <pmiscml@gmail.com>
Thu, 8 Feb 2007 00:39:10 +0000 (00:39 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Thu, 8 Feb 2007 00:39:10 +0000 (00:39 +0000)
allow it some time for that. Otherwise, there's race between psplash and
opie on some machines (seen on h3900), leading to opie hang. With this change,
opie *could* run on VT 2, but it appears that opie's GUI manager has off-by-one
error, causing it to not use last screen scanline, so old content is seen
there, which is unaesthetic. So, keep running opie on VT 3, which is empty.

packages/opie-taskbar/opie-taskbar/opie
packages/opie-taskbar/opie-taskbar_1.2.2.bb
packages/opie-taskbar/opie-taskbar_cvs.bb

index b2677dd..3fe4d0c 100755 (executable)
@@ -41,6 +41,12 @@ fi
 case $1 in
 'start')
     #/sbin/getkey 5 "Starting Opie in 5 seconds... press key to interrupt." && exit 0
+
+    # Turn off psplash if any - sleep is required for anti-race
+    if [ -e /mnt/.psplash ]; then
+        TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
+        sleep 1
+    fi
     
     if [ -x "$OPIEDIR/bin/opie-login" ]; then
             echo Starting Opie-login....
index 384fbd0..a5e154c 100644 (file)
@@ -1,5 +1,5 @@
 require ${PN}.inc
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/apps/calibrate \
            ${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/settings/mediummount \
index 38172af..b2992b0 100644 (file)
@@ -1,6 +1,6 @@
 require ${PN}.inc
 PV = "${OPIE_CVS_PV}"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "${HANDHELDS_CVS};module=opie/core/apps/calibrate \
            ${HANDHELDS_CVS};module=opie/noncore/settings/mediummount \