From 7cacf62247e7e94f9aab829c5e89ac5bddca14e1 Mon Sep 17 00:00:00 2001
From: Pavel Zhukov <pavel.zhukov@huawei.com>
Date: Tue, 2 Nov 2021 18:05:09 +0100
Subject: [PATCH] NetworkManager: Disable ifupdown plugin

Ifupdown is used on the Debian and Ubuntu distributions, and reads Ethernet and
Wi-Fi connections from /etc/network/interfaces. It's not needed for
Oniro.

Closes: https://booting.oniroproject.org/distro/oniro/-/issues/134

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
---
 .../networkmanager/networkmanager_%.bbappend                    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oniro-core/recipes-connectivity/networkmanager/networkmanager_%.bbappend b/meta-oniro-core/recipes-connectivity/networkmanager/networkmanager_%.bbappend
index 3ef1e0f5..86a334c0 100644
--- a/meta-oniro-core/recipes-connectivity/networkmanager/networkmanager_%.bbappend
+++ b/meta-oniro-core/recipes-connectivity/networkmanager/networkmanager_%.bbappend
@@ -7,4 +7,4 @@ inherit writables
 WRITABLES = "system-connections"
 WRITABLE_PATH[system-connections] = "/etc/NetworkManager/system-connections"
 
-PACKAGECONFIG_remove = "dhclient dnsmasq"
+PACKAGECONFIG_remove = "dhclient dnsmasq ifupdown"
-- 
GitLab