Age | Commit message (Collapse) | Author |
|
This reverts commit c6baf131a27bad3515cec907e307c7d0af297409.
Now that the cinematicexperience application doesn't crash anymore we
can enable the restart on failure again. This will handle the unlikely
case when the application would still crash in an unlikely event.
Related-to: ELB-4884
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
(cherry picked from commit 34121f5c91729f7b9185f879318bfd85746e7112)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
If the wayland application fails to start we no longer restart it. This
can happen when there is no display connected. For example the
Qt5_CinematicExperience will fail to start with the following message:
xdg_surface geometry (1920 x 1080) is larger than the configured
fullscreen state (0 x 0)
If we keep restarting the application we spam the kernel log with
the following messages:
imx-drm display-subsystem: [drm] Cannot find any crtc or sizes
Related-to: ELB-4726
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
(cherry picked from commit c6baf131a27bad3515cec907e307c7d0af297409)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
weston uses now systemd-notify to notify systemd when it is up and
running. This is the reason why we do no longer need
wayland-app-launch.sh with the synchronization point in it.
Remove wayland-app-launch.sh script. Remove also the init directory
feature as it is no longer needed. qtsmarthome works now from any
directory.
Related-to: ELB-4784
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Weston is no longer being started as root. To allow applications and
other users to start applications that render to weston there is the
socket-file in /run/wayland-0 created.
Do also specify the user we want the app to be started from. Do also
instruct systemd with PAMName to treat as a login so XDG_RUNTIME_DIR is
also set.
Related-to: ELB-4784
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Fix weston service name, it was changed in oe-core
commit dd83fb40f767 ("weston-init: Stop running weston as root")
from weston@root.service to weston.service.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
This is the result of automated script (0.9.3) conversion:
+# meta-toradex-distro
+vars = vars + ["preempt-rt","tdx","upstream"]
+# meta-toradex-* machines
+vars = vars + ["apalis-","colibri-","verdin-","tegra124"]
+# meta-freescale
+vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"]
../openembedded-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 07a1a12d2487df6175da53644f645ed156e0ca06)
|
|
Related-to: ELB-3153
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 3964c2cfc63e0c3418a2d693b61c3dc95d55c8d2)
|
|
For low-end modules without GPU only show the QT analogclock. For TK1
also choose a different QT-demo.
Related-to: ELB-3153
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit c79cc904871adae96d1c0d0743c5a2605cb25e20)
|
|
0.5 seconds is not enough in some cases. Wait a little bit longer
to avoid having the app restarted multiple times.
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
And limit the restart to once per second.
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
The service expects the script to return (Type=forking). Change the script
so that the wayland app is started in the background.
While at it configure the service to restart the application.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This tries to start a wayland application after weston got started.
Create a copy of wayland-terminal-launch_1.0.bb with the variables
changed according to your needs.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|