From 1465545bf986e068be8c9cf9b7b865a6f1ae3593 Mon Sep 17 00:00:00 2001
From: Pavel Zhukov <pavel.zhukov@huawei.com>
Date: Fri, 8 Oct 2021 15:09:37 +0200
Subject: [PATCH] bind:  Add unsupported warning

We don't want to build bind.

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
---
 .../recipes-connectivity/bind/bind_9.11.%.bbappend        | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-ohos-core/recipes-connectivity/bind/bind_9.11.%.bbappend

diff --git a/meta-ohos-core/recipes-connectivity/bind/bind_9.11.%.bbappend b/meta-ohos-core/recipes-connectivity/bind/bind_9.11.%.bbappend
new file mode 100644
index 00000000..6f2aed4b
--- /dev/null
+++ b/meta-ohos-core/recipes-connectivity/bind/bind_9.11.%.bbappend
@@ -0,0 +1,8 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+do_configure_prepend(){
+	bbwarn "ISC BIND 9.11 or its libs is pulled in into the build. It is unsupported and possibly insecure!"
+	bbwarn "If ISC BIND is pulled in by dhcp-client, please consider switching to use NetworkManager."
+}
-- 
GitLab