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

[distribution] 'make package' for debian based distros #845

Closed
zx81a opened this issue Oct 31, 2019 · 6 comments · Fixed by #931
Closed

[distribution] 'make package' for debian based distros #845

zx81a opened this issue Oct 31, 2019 · 6 comments · Fixed by #931

Comments

@zx81a
Copy link
Contributor

zx81a commented Oct 31, 2019

Hello.

Debian package created with 'make package' does not contain postinst script.
I do not know how to add it, but installation should run depmod after sucess.

@Nightwalker-87 Nightwalker-87 added this to the General milestone Feb 19, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: General, v1.6.1 Feb 20, 2020
@Nightwalker-87
Copy link
Member

Nightwalker-87 commented Mar 1, 2020

@slyshykO: Would it make sense to fix this as well, as we‘re looking at compiling and build issues at the moment? Such a postinst script should also contain a correct setting of the $PATH variable for manual builds (during package installation from a repository this is not a problem as far as I‘m concerned). Any ideas on this?

@slyshykO
Copy link
Collaborator

slyshykO commented Mar 1, 2020

@Nightwalker-87 I know nothing about packaging, sorry.
We should attract people who know.
Try to search in discussion #701

@Nightwalker-87
Copy link
Member

Ok, no problem. Haven‘t reviewed that PR yet, but thx for the hint.

@Nightwalker-87
Copy link
Member

Nightwalker-87 commented Mar 16, 2020

@Vascom, @joede or @bluca maybe? Anybody interested?

@Vascom
Copy link
Collaborator

Vascom commented Mar 16, 2020

I am only for Fedora.

@bluca
Copy link
Contributor

bluca commented Mar 16, 2020

It looks like the makefiles are using CMake's embedded package generator. I am not familiar with it, and have no time to look into it - sorry.

@Nightwalker-87 Nightwalker-87 changed the title make package for debian based distros packaging: make package for debian based distros Mar 17, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: v1.6.1, Feedback required Mar 20, 2020
@Nightwalker-87 Nightwalker-87 changed the title packaging: make package for debian based distros [distribution] 'make package' for debian based distros Mar 25, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: Feedback required, v1.6.1 Mar 25, 2020
@Nightwalker-87 Nightwalker-87 assigned bluca and unassigned bluca Apr 9, 2020
@Nightwalker-87 Nightwalker-87 self-assigned this Apr 18, 2020
Nightwalker-87 added a commit that referenced this issue Apr 18, 2020
- Refactoring for package config & build
- deb-pkg: postinst script with depmod -a

(Fixes #845)
@Nightwalker-87 Nightwalker-87 linked a pull request Apr 18, 2020 that will close this issue
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants