-
Notifications
You must be signed in to change notification settings - Fork 96
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 ROS installation prefix for RPM generator #741
base: master
Are you sure you want to change the base?
fix ROS installation prefix for RPM generator #741
Conversation
The default 'installation_prefix' is '/usr'. This is wrong for 'rosrpm' and has to be prefixed correctly with the default ROS installation.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #741 +/- ##
=========================================
Coverage ? 54.58%
=========================================
Files ? 52
Lines ? 6363
Branches ? 1128
=========================================
Hits ? 3473
Misses ? 2551
Partials ? 339 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a slam dunk to me. Thanks for the PR!
The bug is so obvious, I am wondering if this feature is never used, how does the build farm use bloom to generate RPM packages? |
We've been building RPM packages for a very long time now, I think that nobody's been invoking |
a1d735b
to
03f9155
Compare
@nuclearsandwich Can you have a look at this? |
The default 'installation_prefix' is '/usr'. This is wrong for 'rosrpm' and has to be prefixed correctly with the default ROS installation.
With a "standard" bloom pipeline for RPM with something like:
I am getting spec files with
@(InstallationPrefix)
set to/usr
:Hence, the
rpmbuild
will fail.With this PR (
pip3 install -U git+https://github.com/christianrauch/bloom.git@fix_rosrpm
):generates a spec file with
@(InstallationPrefix)
correctly set to/opt/ros/humble
:Also, see this equivalent fix for
rosdebian
from 10y ago: #288 :-)