From 07e3f4d0fec68b10274b3cc5e83cb00598388453 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <stefan.schmidt@huawei.com>
Date: Mon, 13 Mar 2023 09:27:43 +0100
Subject: [PATCH] oniro-openharmony-linux.conf: Disable Wi-Fi and Bluetooth on
 Pi4

We do not install the firmware files to create images that do not support
Wi-Fi and Bluetooth on Raspberry Pi 4.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
---
 conf/distro/oniro-openharmony-linux.conf | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/conf/distro/oniro-openharmony-linux.conf b/conf/distro/oniro-openharmony-linux.conf
index eb8409cd..2cf7fbe4 100644
--- a/conf/distro/oniro-openharmony-linux.conf
+++ b/conf/distro/oniro-openharmony-linux.conf
@@ -42,3 +42,8 @@ HOSTTOOLS += "ip ping ps scp ssh stty"
 # Default to enabling serial debug console on RaspberryPi
 # Placed here to amend the machine config living in meta-raspberrypi
 ENABLE_UART:raspberrypi4-64 ?= "1"
+
+# We do not install the firmware files to create images that do not support
+# Wi-Fi and Bluetooth on Raspberry Pi 4. Placed here to amend the machine
+# config living in meta-raspberrypi
+MACHINE_EXTRA_RRECOMMENDS:remove:raspberrypi4-64 = "linux-firmware-rpidistro-bcm43455 bluez-firmware-rpidistro-bcm4345c0-hcd linux-firmware-rpidistro-bcm43456 bluez-firmware-rpidistro-bcm4345c5-hcd"
-- 
GitLab