From d8047e61af3ebe2fe0d98ea5599409bd19107ccb Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 15 Jun 2023 18:08:14 -0400 Subject: [PATCH] Add explicit applaunchd systemd dependencies While the change to ensure polkit starts before applaunchd in meta-app-framework should resolve the observed failures, it is also the case that the applications here that call into the applaunchd API did not have dependencies on it in their systemd units, so also fix that to improve overall robustness. Bug-AGL: SPEC-4840 Change-Id: I884b7b326309a0dbdc374a93929aa33f421c680c Signed-off-by: Scott Murray --- recipes-demo/flutter-homescreen/files/flutter-homescreen.service | 4 ++-- recipes-demo/homescreen/files/homescreen.service | 4 ++-- recipes-demo/launcher/files/launcher.service | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes-demo/flutter-homescreen/files/flutter-homescreen.service b/recipes-demo/flutter-homescreen/files/flutter-homescreen.service index 6a1eabeab..3024fced8 100644 --- a/recipes-demo/flutter-homescreen/files/flutter-homescreen.service +++ b/recipes-demo/flutter-homescreen/files/flutter-homescreen.service @@ -1,6 +1,6 @@ [Unit] -Requires=agl-compositor.service -After=agl-compositor.service +Requires=agl-compositor.service applaunchd.service +After=agl-compositor.service applaunchd.service [Service] User=agl-driver diff --git a/recipes-demo/homescreen/files/homescreen.service b/recipes-demo/homescreen/files/homescreen.service index d35f52ad6..d7b85f6f7 100644 --- a/recipes-demo/homescreen/files/homescreen.service +++ b/recipes-demo/homescreen/files/homescreen.service @@ -1,6 +1,6 @@ [Unit] -Requires=agl-compositor.service -After=agl-compositor.service +Requires=agl-compositor.service applaunchd.service +After=agl-compositor.service applaunchd.service Before=graphical.target [Service] diff --git a/recipes-demo/launcher/files/launcher.service b/recipes-demo/launcher/files/launcher.service index 882d13a1f..00dfd9ad7 100644 --- a/recipes-demo/launcher/files/launcher.service +++ b/recipes-demo/launcher/files/launcher.service @@ -1,6 +1,6 @@ [Unit] -Requires=homescreen.service -After=homescreen.service +Requires=homescreen.service applaunchd.service +After=homescreen.service applaunchd.service [Service] Type=simple -- 2.16.6