Workaround for #633: increase sleep before pmOS-demos shows up (#638)

A proper fix will be implemented soon, see #633.
This commit is contained in:
Oliver Smith 2017-09-27 20:48:08 +00:00 committed by GitHub
parent 0ed89b5621
commit d48f020477
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-ui-weston
pkgver=1
pkgrel=3
pkgrel=4
pkgdesc="Meta package for weston"
url="https://github.com/postmarketOS"
arch="noarch"
@ -18,5 +18,5 @@ package() {
install -D -m644 "$srcdir"/start_weston.sh \
"$pkgdir"/etc/profile.d/start_weston.sh || return 1
}
sha512sums="c58547a8e3f184f97aabb746b6b2d4e84292809d00c2fbd16e4051f142246798cdf26a7a5861d632afaf2c103d47045aa3ba7b740157c2f0f9c2a404716252b0 start_weston.sh
sha512sums="432a27be3dbc83be2bee14a663d6e8c3fe1285daaeb1e08566bf1e8504cf3a680a688f15aae5c849849debe20655e01e735e1f7a3fe94bd28d083bbb0198a9f2 start_weston.sh
94a690ed8f86c23620fa437bdcae01a851dfd9d8ffa64802be53dbb6bcd4f71cd59145f45c08a45ddd85082890095610946e6baa51fb4e9dc0b982fdc5ec2dc3 postmarketos-ui-weston.post-install"

View file

@ -19,7 +19,8 @@ if test -z "${XDG_RUNTIME_DIR}"; then
udevadm trigger
udevadm settle
(sleep 2; postmarketos-demos) &
# Workaround! See #633 for discussing a proper fix
(sleep 3; postmarketos-demos) &
weston ${WESTON_OPTS} >/tmp/weston.log 2>&1
# In case of failure, restart after 1s