From 03f9155af89016d18ec97e22ff9a86bca12a7733 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Mon, 10 Apr 2023 21:10:29 +0200 Subject: [PATCH] fix ROS installation prefix for RPM generator The default 'installation_prefix' is '/usr'. This is wrong for 'rosrpm' and has to be prefixed correctly with the default ROS installation. --- bloom/generators/rosrpm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bloom/generators/rosrpm.py b/bloom/generators/rosrpm.py index 3954bea4..6a4e8842 100644 --- a/bloom/generators/rosrpm.py +++ b/bloom/generators/rosrpm.py @@ -163,7 +163,8 @@ def get_subs(pkg, os_name, os_version, ros_distro): pkg, os_name, os_version, - ros_distro + ros_distro, + RosRpmGenerator.default_install_prefix + ros_distro, ) subs['Package'] = rosify_package_name(subs['Package'], ros_distro) return subs