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

Fix file_name_template to produce the same binary names #136

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

agners
Copy link
Member

@agners agners commented Mar 16, 2023

Unfortunately, the nfpms.replacements example is not based on a default configuration. The example causes ARM binaries to be named differently.

Use default file_name_template as base and implement our replacements based on that.

@agners agners requested a review from frenck March 16, 2023 12:56
@frenck frenck merged commit 2d773f5 into home-assistant:main Mar 16, 2023
@agners agners deleted the fix-file-name-template branch March 16, 2023 15:56
@ciB89
Copy link

ciB89 commented Mar 16, 2023

There is now a dot before the arm versions which I don't think is supposed to be there, e.g.: os-agent_1.5.1_linux_**.**armv5.deb

@agners
Copy link
Member Author

agners commented Mar 16, 2023

Interesting. I don't really see where that comes from, but it must be related to this change: https://github.com/home-assistant/os-agent/pull/136/files.

@agners
Copy link
Member Author

agners commented Mar 17, 2023

This change seems to fix the problem: #137

I've manually renamed the affected deb packages in the 1.5.1 release.

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

Successfully merging this pull request may close these issues.

3 participants