From d22dd67991f33efb38295cf2b9fe392a27178005 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Tue, 15 Feb 2022 17:54:16 +0100 Subject: Fix screenshot test and user session The user session has its own daemon that needs to be reloaded separately. Thus execute a separate reload call. Bug-AGL: SPEC-4165 Signed-off-by: Jan-Simon Moeller Change-Id: Ie58423dfb29002660eea69462623d3f37614079f --- common/scripts/agl-screenshot-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/scripts/agl-screenshot-test.sh b/common/scripts/agl-screenshot-test.sh index 84e4d85..cdd536a 100755 --- a/common/scripts/agl-screenshot-test.sh +++ b/common/scripts/agl-screenshot-test.sh @@ -30,7 +30,8 @@ sed -i '/^\[core\]/a hide-cursor=true' /etc/xdg/weston/weston.ini # enable red/green/blue test screen echo 'HOMESCREEN_DEMO_CI=1' > /etc/default/homescreen sync -systemctl daemon-reload +systemctl daemon-reload || true +su - agl-driver -c 'export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus" ; systemctl --user daemon-reload' || true sleep 2 # create initial journal cursor file -- cgit 1.2.3-korg