From 18bc23dc5320b0886766adf4ee6d1fabb70b70a2 Mon Sep 17 00:00:00 2001
From: Francesco Pham <francesco.pham@huawei.com>
Date: Tue, 28 Mar 2023 15:09:09 +0200
Subject: [PATCH] foundation.service: run foundation service after
 weston.service

weston needs to be running before system abilities are able to start.

Signed-off-by: Francesco Pham <francesco.pham@huawei.com>
---
 recipes-openharmony/openharmony/files/foundation.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-openharmony/openharmony/files/foundation.service b/recipes-openharmony/openharmony/files/foundation.service
index 45fbedf8..6ac81c58 100644
--- a/recipes-openharmony/openharmony/files/foundation.service
+++ b/recipes-openharmony/openharmony/files/foundation.service
@@ -18,6 +18,7 @@ Wants=distributed_data.service
 # Requires SA: 3202 5001 -- but from where?
 Requires=dev-dri-card0.device
 After=dev-dri-card0.device
+After=weston.service
 
 [Service]
 Type=notify
-- 
GitLab