-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fails to build core-image, fails to load plugin #19
Comments
Our images use custom plugins for fsguard, you need to add it in the plugins folder (create a plugins folder in the root of the core-image project), in this case download and drop this library into that folder https://github.com/Vanilla-OS/vib-fsguard/releases/tag/v1.2-1 |
The downloaded one didn't work because the |
Just in case, I'm on Fedora 39 with The error message:
|
It seems like I found a solution golang/go#27751 (comment) |
OK, so the trick was to build both the binary and the library with |
The best place to "fix" this is to add an extra step to the workflow file in https://github.com/Vanilla-OS/vib-plugin which automatically checks which version of the api the latest vib release uses and then just change that in the go.mod before building the plugin |
I'm running it on Fedora 39 to build the core-image recipe, but Vib panics when trying to load new plugin. The
/home/mks/Projects/Vanilla-OS/core-image/plugins/fsguard.so
path it looks for doesn't exist, there's noplugins
folder.Logs
The text was updated successfully, but these errors were encountered: