From 632c515383ed0c37787c662498f88a00f1396dff Mon Sep 17 00:00:00 2001
From: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Date: Wed, 10 Feb 2021 14:51:03 +0100
Subject: [PATCH] packagegroup-connectivity: Add packagegroup for
 net/connectivity

Introduce package group to gather connectivity related
(networking, bluetooth, etc.) applications and tools.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
---
 .../packagegroup-connectivity.bb              | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-ohos-core/recipes-core/packagegroups/packagegroup-connectivity.bb

diff --git a/meta-ohos-core/recipes-core/packagegroups/packagegroup-connectivity.bb b/meta-ohos-core/recipes-core/packagegroups/packagegroup-connectivity.bb
new file mode 100644
index 00000000..b48a255b
--- /dev/null
+++ b/meta-ohos-core/recipes-core/packagegroups/packagegroup-connectivity.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Networking and connectivity package group"
+
+inherit packagegroup
+
+PACKAGES = "\
+	packagegroup-net-essentials \
+	packagegroup-net-tools \
+	packagegroup-ble-essentials \
+	"
+
+RDEPENDS_packagegroup-net-essentials = "\
+	dhcp-client \
+	dropbear \
+	${@bb.utils.contains("COMBINED_FEATURES", "wifi", "packagegroup-base-wifi iw", "", d)} \
+	"
+
+RDEPENDS_packagegroup-net-tools = "\
+	iperf3 \
+	"
+
+RDEPENDS_packagegroup-ble-essentials = "\
+	${@bb.utils.contains("COMBINED_FEATURES", "bluetooth", "bluez5 obexftp", "", d)} \
+	"
-- 
GitLab