OpenWrt build failure with mbim disabled

Peter Naulls peter at chocky.org
Wed Jan 25 18:14:04 UTC 2023


If ModemManager's mbim support is disabled:

install -d -m0755 
/home/peter/awc/openwrt-master/build_dir/target-mipsel_24kc_musl/modemmanager-1.20.2/.pkgdir/modemmanager/usr/share/ModemManager
install -m0644 
/home/peter/awc/openwrt-master/build_dir/target-mipsel_24kc_musl/modemmanager-1.20.2/ipkg-install/usr/share/ModemManager/*.conf 
/home/peter/awc/openwrt-master/build_dir/target-mipsel_24kc_musl/modemmanager-1.20.2/.pkgdir/modemmanager/usr/share/ModemManager
install: cannot stat 
'/home/peter/awc/openwrt-master/build_dir/target-mipsel_24kc_musl/modemmanager-1.20.2/ipkg-install/usr/share/ModemManager/*.conf': 
No such file or directory

This is version 1.20.2 in current OpenWrt development.  I'm using this work around:


--- a/net/modemmanager/Makefile
+++ b/net/modemmanager/Makefile
@@ -110,7 +110,7 @@ define Package/modemmanager/install
         $(INSTALL_DATA) 
$(PKG_INSTALL_DIR)/usr/share/dbus-1/system-services/org.freedesktop.ModemManager1.service 
$(1)/usr/share/dbus-1/system-services

         $(INSTALL_DIR) $(1)/usr/share/ModemManager
-       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/ModemManager/*.conf 
$(1)/usr/share/ModemManager
+       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/ModemManager/*.conf 
$(1)/usr/share/ModemManager || true
         $(INSTALL_DATA) ./files/modemmanager.common $(1)/usr/share/ModemManager

         $(INSTALL_DIR) $(1)/usr/share/ModemManager/fcc-unlock.available.d



More information about the ModemManager-devel mailing list