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

Generate package version automatically #6

Open
esyr-rh opened this issue Nov 3, 2017 · 0 comments
Open

Generate package version automatically #6

esyr-rh opened this issue Nov 3, 2017 · 0 comments

Comments

@esyr-rh
Copy link
Contributor

esyr-rh commented Nov 3, 2017

Right now, RPM version is more or less arbitrary and has to be provided manually. We can try to generate it during the prepare_source stage based on the information we have:

  • Kernel version from which source files are originated
  • Version of kernel modules themselves, as provided in MODULE_VERSION directive

I'm tempted to use the first one exclusively, as there is, for example, mpt3sas package, that contains both mpt3sas and mpt2sas kermel modules (which are placed in the same directory) that have different versions, so, unless we enforce "one *.ko per one package" rule, trying to use MODULE_VERSION information could lead to problems.

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

No branches or pull requests

1 participant