Add explicit applaunchd systemd dependencies 21/29021/1 15.91.1 pike/15.91.1 pike_15.91.1
authorScott Murray <scott.murray@konsulko.com>
Thu, 15 Jun 2023 22:08:14 +0000 (18:08 -0400)
committerScott Murray <scott.murray@konsulko.com>
Thu, 15 Jun 2023 22:08:14 +0000 (18:08 -0400)
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 <scott.murray@konsulko.com>
recipes-demo/flutter-homescreen/files/flutter-homescreen.service
recipes-demo/homescreen/files/homescreen.service
recipes-demo/launcher/files/launcher.service

index 6a1eabe..3024fce 100644 (file)
@@ -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
index d35f52a..d7b85f6 100644 (file)
@@ -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]
index 882d13a..00dfd9a 100644 (file)
@@ -1,6 +1,6 @@
 [Unit]
-Requires=homescreen.service
-After=homescreen.service
+Requires=homescreen.service applaunchd.service
+After=homescreen.service applaunchd.service
 
 [Service]
 Type=simple