diff mbox series

[master/kirkstone,03/52] weston-init: Update initscript for weston-calibration

Message ID 20220913040246.2365077-4-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series Latest 2022.09 sync-up with Dunfell | expand

Commit Message

Denys Dmytriyenko Sept. 13, 2022, 4:01 a.m. UTC
From: Priya N S <priya.ns@ti.com>

Increase the sleep time before starting the weston-calibrator.
It takes some time for the completion of the runWeston script.
If the weston-calibration is started before the completion of
the runWeston script, the weston-calibrator will fail.

Signed-off-by: Priya N S <priya.ns@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend | 2 +-
 meta-arago-distro/recipes-graphics/wayland/weston-init/init     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
index 1a32f196..28e7ae39 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
@@ -1,6 +1,6 @@ 
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 
-PR:append = ".arago11"
+PR:append = ".arago12"
 
 SRC_URI:append = " \
     file://runWeston \
diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init/init b/meta-arago-distro/recipes-graphics/wayland/weston-init/init
index 461b0787..7a80238b 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston-init/init
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-init/init
@@ -79,7 +79,7 @@  case "$1" in
             echo
             echo    "*** To continue, please complete the touchscreen calibration"
             echo -n "*** by touching the crosshairs on the LCD screen"
-            sleep 1
+            sleep 2
             CAL_VALUES=`weston-calibrator|cut -c21-`
             echo 'SUBSYSTEM=="input", ENV{WL_CALIBRATION}="'$CAL_VALUES'"' > $WS_CALUDEV_FILE
             echo "."