Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: using dlopen() and dlsym() for libpassim.so #7173

Open
mohemiv opened this issue Apr 24, 2024 · 1 comment
Open

Suggestion: using dlopen() and dlsym() for libpassim.so #7173

mohemiv opened this issue Apr 24, 2024 · 1 comment

Comments

@mohemiv
Copy link

mohemiv commented Apr 24, 2024

Hello there,

Currently, the option to use passim isn't configurable after the build has been completed. This means that users who built fwupd without specific settings cannot use it later and vice versa.

I suggest using dlopen() and dlsym() for libpassim.so to provide end-users with greater flexibility in configuring the system when using fwupd.

@superm1
Copy link
Member

superm1 commented May 1, 2024

Considering we already do split off other things that pull in optional dependencies like flashrom plugin and modem manager plugin I could see a stronger argument for this request.

If we did this conceivably a distro packager can have a fwupd-passim package just like they do their own fwupd-plugin-flashrom and fwupd-plugin-modem-manager.

I think if we were to do something like this it should be with GModule instead of libdl though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants