-
-
Notifications
You must be signed in to change notification settings - Fork 930
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
Allow inline nfpm to build AIX rpms if/when that gets added #4853
Comments
After being educated about how to fix direct builds with NFPM, I attempted to implement the same changes in our .goreleaser.yaml file and received the following errors:
Looking at the code, I see the relevant structs here: goreleaser/pkg/config/config.go Line 759 in ec2db4a
And: goreleaser/pkg/config/config.go Line 806 in ec2db4a
These structs do not contain the relevant fields that need passed to nfpm. Here is a snippet from my nfpm.yaml where these are present and working:
Specifically, the platform and rpm/arch (not standalone arch) lines. I assume that rpm/arch is being set automagically from arch, however I need the ability to override it for AIX because AIX ppc64 rpms expect rpm arch set to ppc. Linux ppc64 arch rpms expect rpm arch set to ppc64. This means we can't (without major modifications) use the already built in override capabilities in the nfpm code. I'm not sure if platform is being set anywhere, but if it is I would guess it is set from the os. Again, I need to override this because the os is |
fixed in #5075 |
Is your feature request related to a problem? Please describe.
I need to support AIX, preferably using rpm files. Currently we only have the option to do it via tar.gz packages.
Describe the solution you'd like
I would like to use nfpm rpm builds to create aix rpm files.
Describe alternatives you've considered
None, we use goreleaser exclusively for our builds.
Search
Supporter
Code of Conduct
Additional context
This would depend on goreleaser/nfpm#821
The text was updated successfully, but these errors were encountered: