From e46b87b01f57c8d97436cf57f16d2600d2e30cd0 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <stefan.schmidt@huawei.com>
Date: Fri, 27 Aug 2021 14:39:18 +0200
Subject: [PATCH] allscenarios-linux.conf: disable dlt for mosquitto package

We use systemd for everything related to logging in our distribution.
Mosquitto was the only package bringing in dlt-daemon for a use case we
already covered. Disable the PACKAGECONFIG option for it in our distro
configuration.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
---
 meta-ohos-core/conf/distro/allscenarios-linux.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-ohos-core/conf/distro/allscenarios-linux.conf b/meta-ohos-core/conf/distro/allscenarios-linux.conf
index 6f606c3f..930b673b 100644
--- a/meta-ohos-core/conf/distro/allscenarios-linux.conf
+++ b/meta-ohos-core/conf/distro/allscenarios-linux.conf
@@ -31,3 +31,6 @@ PREFERRED_VERSION_linux-yocto = "5.10%"
 
 # Default to enabling serial debug console on RaspberryPi
 ENABLE_UART ?= "1"
+
+# We have no use for dlt-daemon as we use systemd for logging
+PACKAGECONFIG_remove_pn-mosquitto = "dlt"
-- 
GitLab