Skip to content

Support for building Debian packages #310

Open
@ashquarky

Description

@ashquarky

It would be useful if it was possible to make Debian packages from a project using ros2_rust. There's official documentation for doing this, but bloom-generate claims to not support ament_cargo builds, along with rclrs and rosidl_runtime_rs not being in rosdep.

My project at least doesn't seem to have ended up with any dynamic dependencies outside the standard ROS libs, so if that's the common case it might not be that complicated to support (dependencies can mostly be ignored?)

There are other potential distribution methods too:

  • Copying source and building on-target - rough for robots with weak CPUs
  • Just copying binaries around - as mentioned, seemingly only standard runtime deps, so this is ugly but functional
  • Docker - works fine, though I had some weird issues with --net host and FastDDS (unrelated to ros2_rust)

Of these, I think debian packages are the best option. What work has to be done for bloom to support cargo; if that's even possible before being in the core distribution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions