-
Notifications
You must be signed in to change notification settings - Fork 527
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
Incorrect OS value set in Mimir v2.3.* RPM packages #3216
Comments
Ignore OS can be used with rpm, ie.:
but there is no such flag in DNF or Yum. |
Thanks for your report! Looks like a bug, sorry. Are you willing to open a PR to fix it? :) |
I would like to help, but the last time I built rpm was 15 years ago. I looked through Mimir repo and got no idea where the bug was or how to fix it. |
When creating the packages on MacOS the `OS` applied on the package is not correct. The documentation says: --rpm-os OS The operating system to target this rpm for. You want to set this to ‘linux’ if you are using fpm on OS X, for example See: https://fpm.readthedocs.io/en/latest/packages/rpm.html Fixes: grafana#3216 Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com>
RPMs are built with FPM. This is something we will need to watchout for when dealing with #2986 |
) When creating the packages on MacOS the `OS` applied on the package is not correct. The documentation says: --rpm-os OS The operating system to target this rpm for. You want to set this to ‘linux’ if you are using fpm on OS X, for example See: https://fpm.readthedocs.io/en/latest/packages/rpm.html Fixes: #3216 Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com> Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com>
) When creating the packages on MacOS the `OS` applied on the package is not correct. The documentation says: --rpm-os OS The operating system to target this rpm for. You want to set this to ‘linux’ if you are using fpm on OS X, for example See: https://fpm.readthedocs.io/en/latest/packages/rpm.html Fixes: #3216 Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com> Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com> (cherry picked from commit 80e6fc1)
) (#3226) When creating the packages on MacOS the `OS` applied on the package is not correct. The documentation says: --rpm-os OS The operating system to target this rpm for. You want to set this to ‘linux’ if you are using fpm on OS X, for example See: https://fpm.readthedocs.io/en/latest/packages/rpm.html Fixes: #3216 Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com> Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com> (cherry picked from commit 80e6fc1) Co-authored-by: wilfriedroset <wilfriedroset@users.noreply.github.com>
Works as expected now:
Thanks for fixing this. |
Thanks @mac133k for testing and @wilfriedroset for fixing! Great job 👏 |
Describe the bug
It is not possible to install Mimir 2.3.* from released RPMs due to incorrect OS value which is set to darwin.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be possible to install Mimir form RPM packages on RPM-based Linux distros.
Environment
Additional Context
n/a
The text was updated successfully, but these errors were encountered: