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

Updated mavlink-router installation #1038

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PYBrulin
Copy link

Hi, the old method of installing mavlink-router via the autogen.sh script is deprecated since November 2021 (see mavlink-router/mavlink-router@c8c7c1c). Mavlink-router is now configured and built using meson/ninja.

This PR updates the steps for configuring and building mavlink-router to use meson/ninja. The actual installation of the mavlink-routerd binary is done by simply copying it from the build directory to its installation destination.

This final step of copying the binary into its destination folder replaces the standard way of installing mavlink-router (sudo ninja -C build install) because ninja installs the service into systemd by default and requires admin rights to do it. This request for admin rights is done through "polkit" which requires manual entry of the admin password which fails through puppet. Also, it does not seem to be possible to disable the installation of the service in systemd as it was possible with the --disable-systemd argument in autogen.sh, so the installation step is actually not desired.

This was tested on an Nvidia Xavier NX Dev Kit.

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.

1 participant