From f86501b118128ef3d6bbec9db051a1d10e7d5c13 Mon Sep 17 00:00:00 2001
From: Scott Murray <scott.murray@konsulko.com>
Date: Mon, 6 Apr 2020 17:20:35 -0400
Subject: [PATCH] Update weston dependency in afm-system-setup.service

When I switched AGL over to using upstream OE's template unit scheme for
running weston as non-root for the zeus upgrade, I missed the dependency
in afm-system-setup.service, update it to weston@display.service to
match the new configuration.

Bug-AGL: SPEC-3309

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ifef4d63be3326fb6d36eb997cb2bc331c49a1250
---
 conf/system/afm-system-setup.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/system/afm-system-setup.service.in b/conf/system/afm-system-setup.service.in
index 694ac2d..4ffab9b 100644
--- a/conf/system/afm-system-setup.service.in
+++ b/conf/system/afm-system-setup.service.in
@@ -1,6 +1,6 @@
 [Unit]
 Description=Initiate afm-system-setup
-Before=weston.service afs-supervisor.service afm-system-daemon.service
+Before=weston@display.service afs-supervisor.service afm-system-daemon.service
 [Service]
 Type=oneshot
 ExecStart=-@afm_libexecdir@/afm-system-setup.sh
-- 
2.16.6