From 4bc8a8df961321b5762af3d95f237a13ca34b4b0 Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Thu, 8 Jun 2023 09:24:20 +0200 Subject: [PATCH] weston: readonly: change default log path to /tmp/ Weston is not launched in read-only filesystem because /home/root is not a writable path. Signed-off-by: Francisco Gil --- .../wayland/weston-init/weston-launch.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/wayland/weston-init/weston-launch.service b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/wayland/weston-init/weston-launch.service index 19e196768..4d20bffdf 100644 --- a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/wayland/weston-init/weston-launch.service +++ b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/wayland/weston-init/weston-launch.service @@ -33,8 +33,8 @@ EnvironmentFile=-/etc/default/weston Environment="XDG_RUNTIME_DIR=/home/root" Environment="WESTON_USER=root" Environment="WL_EGL_GBM_FENCE=0" -#ExecStart=/usr/bin/weston-launch -- --modules=systemd-notify.so --log=/home/weston/weston.log $OPTARGS -ExecStart=/usr/bin/weston-start --modules=systemd-notify.so --log=/home/root/weston.log $OPTARGS +#ExecStart=/usr/bin/weston-launch -- --modules=systemd-notify.so --log=/tmp/weston.log $OPTARGS +ExecStart=/usr/bin/weston-start --modules=systemd-notify.so --log=/tmp/weston.log $OPTARGS ExecStop=/usr/bin/killall weston-launch # Optional watchdog setup