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

build only selected packages to enable security. #325

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions SROS2_Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Install from debian packages

First install ROS2 from binaries following [these instructions](https://docs.ros.org/en/rolling/Installation/Ubuntu-Install-Debians.html).
First install ROS 2 from binaries following [these instructions](https://docs.ros.org/en/rolling/Installation/Ubuntu-Install-Debians.html).

Setup your environment following [these instructions](https://docs.ros.org/en/rolling/Installation/Ubuntu-Install-Debians.html#environment-setup).

Expand All @@ -19,11 +19,11 @@ You will need to have openssl installed on your machine:
sudo apt update && sudo apt install libssl-dev
```

First install ROS2 from source following [these instructions](https://docs.ros.org/en/rolling/Installation/Ubuntu-Development-Setup.html).
First install ROS 2 from source following [these instructions](https://docs.ros.org/en/rolling/Installation/Ubuntu-Development-Setup.html).

Note: Fast-RTPS requires an additional CMake flag to build the security plugins so the colcon invocation needs to be modified to pass:
```bash
colcon build --symlink-install --cmake-args -DSECURITY=ON
colcon build --symlink-install --cmake-args -DSECURITY=ON --packages-select fastrtps rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp rmw_fastrtps_shared_cpp
```

### Additional configuration for RTI Connext
Expand Down
6 changes: 3 additions & 3 deletions SROS2_MacOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For convenience you can add this export to your bash_profile.

### Install from binaries

First install ROS2 from binaries following [these instructions](https://docs.ros.org/en/rolling/Installation/macOS-Install-Binary.html).
First install ROS 2 from binaries following [these instructions](https://docs.ros.org/en/rolling/Installation/macOS-Install-Binary.html).


Setup your environment:
Expand All @@ -37,11 +37,11 @@ export OPENSSL_ROOT_DIR=`brew --prefix openssl`
```
For convenience you can add this export to your bash_profile.

Install ROS2 from source following [these instructions](https://docs.ros.org/en/rolling/Installation/macOS-Development-Setup.html).
Install ROS 2 from source following [these instructions](https://docs.ros.org/en/rolling/Installation/macOS-Development-Setup.html).

Note: Fast-RTPS requires an additional CMake flag to build the security plugins so the colcon invocation needs to be modified to pass:
```bash
colcon build --symlink-install --cmake-args -DSECURITY=ON
colcon build --symlink-install --cmake-args -DSECURITY=ON --packages-select fastrtps rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp rmw_fastrtps_shared_cpp
```

Setup your environment:
Expand Down
8 changes: 4 additions & 4 deletions SROS2_Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

### Install ROS2

#### Install ROS2 from binaries
#### Install ROS 2 from binaries

Please follow [these instructions](https://docs.ros.org/en/rolling/Installation/Windows-Install-Binary.html).

#### Install ROS2 from source
#### Install ROS 2 from source

Please follow [these instructions](https://docs.ros.org/en/rolling/Installation/Windows-Development-Setup.html) and stop at the beginning of "Build the code" section

To build the ROS2 code with security extensions, call:
To build the ROS 2 code with security extensions, call:
```bat
colcon build --cmake-args -DSECURITY=ON
colcon build --cmake-args -DSECURITY=ON --packages-select fastrtps rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp rmw_fastrtps_shared_cpp
```

### Install OpenSSL
Expand Down
Loading