From 8c4455cc1cf6a7cfde4f69bfffb0e19fe26b9cd8 Mon Sep 17 00:00:00 2001 From: Origami74 Date: Wed, 25 Mar 2026 13:23:24 +0100 Subject: [PATCH] Fix OpenWrt ipk build: exclude BLE feature that requires D-Bus The ble feature (bluer crate) pulls in libdbus-sys which cannot cross-compile with cargo-zigbuild. Disable default features and explicitly enable only tui for the OpenWrt package build. --- packaging/openwrt-ipk/build-ipk.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/openwrt-ipk/build-ipk.sh b/packaging/openwrt-ipk/build-ipk.sh index 07efc24..583f990 100755 --- a/packaging/openwrt-ipk/build-ipk.sh +++ b/packaging/openwrt-ipk/build-ipk.sh @@ -109,6 +109,8 @@ cd "$PROJECT_ROOT" cargo zigbuild \ --release \ --target "$RUST_TARGET" \ + --no-default-features \ + --features tui \ --bin fips \ --bin fipsctl \ --bin fipstop