projects
/
profile
/
ivi
/
weston.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated packaging change log.
[profile/ivi/weston.git]
/
packaging
/
rc.weston
diff --git
a/packaging/rc.weston
b/packaging/rc.weston
index
5b86cc5
..
c769bc1
100644
(file)
--- a/
packaging/rc.weston
+++ b/
packaging/rc.weston
@@
-92,7
+92,15
@@
do_start()
# appropriate --user flag. Unfortunately, weston-launch isn't
# available due to missing package dependencies.
# ************************************************************
# appropriate --user flag. Unfortunately, weston-launch isn't
# available due to missing package dependencies.
# ************************************************************
- chmod 777 $XDG_RUNTIME_DIR/wayland-0
+ wayland_socket="$XDG_RUNTIME_DIR/wayland-0"
+ MAX_ATTEMPTS=8
+ attempt=0
+ while [ ! -f $wayland_socket ] && [ $attempt -lt $MAX_ATTEMPTS ]
+ do
+ sleep 0.5
+ attempt=$[$attempt + 1]
+ done
+ chmod 777 $wayland_socket
# ***********************************************************
# HACK TO WORK AROUND BROKEN INFINITE LOOPS IN BOOT ANIMATION
# ***********************************************************
# HACK TO WORK AROUND BROKEN INFINITE LOOPS IN BOOT ANIMATION