Access mmcli from modem-manager from another snap


#1

This is a similar question to something I asked previously.

I’m developing a snap that requires access to the snap’s mmcli command. Is that possible? Do I need to include the mmcli binary in my snap like I did with nmcli or can I use an interface?


#2

Actually I think I have solved this. I had been using stage-package modem-manager which was not found. but it seems the stage package name modemmanager is the one to use.

Need to use mmcli from within the snap

mmcli:
   plugin: nil
   stage-packages:
       - modemmanager
   organize:
      usr/bin/mmcli: bin/mmcli