Skip to content

Fix: Post Install #225

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

Open
wants to merge 2 commits into
base: jazzy
Choose a base branch
from
Open

Fix: Post Install #225

wants to merge 2 commits into from

Conversation

luis-camero
Copy link
Contributor

Remove directory creation from install script.

Run install script from within postinst with sudo permissions since no directories with root ownership will be created.

@luis-camero luis-camero marked this pull request as ready for review June 5, 2025 21:08
@luis-camero luis-camero requested a review from a team as a code owner June 5, 2025 21:08
@luis-camero luis-camero requested review from mikehosmar and civerachb-cpr and removed request for a team June 5, 2025 21:08
@@ -23,7 +23,7 @@ fi
if [ -f /lib/systemd/system/clearpath-robot.service ];
then
echo "Detected previous installation of clearpath-robot.service. Updating services..."
setpriv --reuid $(get_user) --regid $(get_user) --keep-groups ros2 run clearpath_robot install &
ros2 run clearpath_robot install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this to run as root instead of as a normal user?

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

Successfully merging this pull request may close these issues.

2 participants