From ae739d3481016373ee20acf7130b49574a53dbd4 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Thu, 28 Jul 2022 16:47:13 +0200
Subject: [PATCH] oniro-mounts: The recipe is requiring systemd so depend on
 its distro feature

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-oniro-core/recipes-core/oniro-mounts/oniro-mounts.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oniro-core/recipes-core/oniro-mounts/oniro-mounts.bb b/meta-oniro-core/recipes-core/oniro-mounts/oniro-mounts.bb
index ccd0d8bb..00b0c2c4 100644
--- a/meta-oniro-core/recipes-core/oniro-mounts/oniro-mounts.bb
+++ b/meta-oniro-core/recipes-core/oniro-mounts/oniro-mounts.bb
@@ -20,7 +20,9 @@ SRC_URI = " \
     file://oniro-homes.conf.tmpfiles \
     "
 
-inherit allarch systemd
+REQUIRED_DISTRO_FEATURES ?= "systemd"
+
+inherit allarch features_check systemd
 
 SYSTEMD_SERVICE:${PN} = " \
     home.mount \
-- 
GitLab