-
Notifications
You must be signed in to change notification settings - Fork 165
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
RPM packages are missing a /bin/sh dependency #244
Comments
Can you give more details about it? Is this happening for specific versions of specific distributions? I believe I installed the RPM a few times, and I'm confident it worked on Fedora 36. |
It most likely works in your testing because, the /bin/sh dependency is already in place. But, in an environment where it is not yet there (kickstart, etc) the install will fail in the PREIN step. If there requirement is explicitly included, then RPM resolver can order the package installs correctly. |
Makes total sense. Are you able to open a PR fixing it? It's very likely here: opentelemetry-collector-releases/cmd/goreleaser/internal/configure.go Lines 106 to 139 in 26c3f34
Here's the relevant documentation from goreleaser: https://goreleaser.com/customization/nfpm/ |
Sorry, I'm not familiar enough with the project or GoReleaser to do a PR at the moment. |
/bin/sh is required for the postinstall.sh and other scripts.
Adding a
Requires:
for all dependencies needed during install is a common standard.The text was updated successfully, but these errors were encountered: