From 8e02ced31a4b0d3037e1c8354abeff4adb613b8c Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Tue, 2 Jun 2026 13:00:27 +0200 Subject: [PATCH] feat(image): add WiFi firmware blobs + regulatory DB to live-USB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Append to debootstrap INCLUDE_PKGS: - firmware-misc-nonfree → mt7662 (MT7632U) + ath10k (QCA9880) blobs - firmware-atheros → htc_9271.fw (AR9271 USB, firmware-free option) - wireless-regdb → signed regulatory DB (FR domain lock applied via secubox-mesh postinst) sources.list already enables non-free + non-free-firmware components (lines 221-223), so debootstrap can resolve these packages. Ref CM-MESH-MPCIE-2026-06 v0.2.1. --- image/build-mochabin-live-usb.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/image/build-mochabin-live-usb.sh b/image/build-mochabin-live-usb.sh index 54e6d1f9..08ec2be8 100755 --- a/image/build-mochabin-live-usb.sh +++ b/image/build-mochabin-live-usb.sh @@ -194,6 +194,12 @@ INCLUDE_PKGS+=",bridge-utils,dnsutils,iputils-arping,avahi-daemon,avahi-utils" INCLUDE_PKGS+=",ieee-data,procps,openssl,haproxy,qrencode" INCLUDE_PKGS+=",fonts-noto-color-emoji" +# WiFi firmware + regulatory (CM-MESH-MPCIE-2026-06 v0.2.1) +# firmware-misc-nonfree : mt7662 (MT7632U) + ath10k (QCA9880) blobs +# firmware-atheros : htc_9271.fw (AR9271 USB) — firmware-free option +# wireless-regdb : signed regulatory DB, FR domain lock at postinst +INCLUDE_PKGS+=",firmware-misc-nonfree,firmware-atheros,wireless-regdb" + # Cross-architecture debootstrap with QEMU debootstrap --arch=arm64 --foreign --include="${INCLUDE_PKGS}" \ "${SUITE}" "${ROOTFS}" "${APT_MIRROR}"