modemmanager -> polkit -> mozjs78/icu-libs dependency chain is big
We might need to include modemmanager on our embedded linux image, but adding it pulls ~60M of packages through polkit while we won't be using polkit at all.
Recompiling modemmanager with
--with-polkit=no works for our need, but that's not an acceptable solution in general (I guess people use it for more desktop-like environments), and I see no way of making polkit a runtime check thing --
- either on MM side as an auth provider plugin, which isn't something that exists,
- or as a dummy polkit lib that would shim in the .so, but the mozjs dependency isn't something that can be made conditional in polkit build system
I'm not really asking for any change, but does anyone have an idea how we could make modemmanager not pull in so much? This is literally doubling the rootfs size for something we won't use, it's a bit annoying :-D
cc @Cogitri who seems to have been involved with modemmanager in other issues, I can't find the gitlab login for other recent commit authors (Clayton Craft, Dylan Van Assche) who might also have an opinion...