-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathubuntu24-x86_64-ros2.yml
More file actions
61 lines (53 loc) · 1.81 KB
/
ubuntu24-x86_64-ros2.yml
File metadata and controls
61 lines (53 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
image:
name: edge-os-image-ubuntu
version: "24.04"
target:
os: ubuntu
dist: ubuntu24
arch: x86_64
imageType: raw
# Sample list of additional package repositories; replace codename, url, and pkey values as needed
packageRepositories:
# ros 2
- codename: "noble"
url: "http://packages.ros.org/ros2/ubuntu"
pkey: "https://raw.githubusercontent.com/ros/rosdistro/master/ros.key"
# pkey: "[trusted=yes]"
component: "main"
systemConfig:
name: edge
description: edge ubuntu image with immutable rootfs
immutability:
enabled: true # default is true
# To enable Secure Boot, provide the actual file paths for your environment below and uncomment the relevant lines.
# secureBootDBKey: "<SECURE_BOOT_DB_KEY_PATH>"
# secureBootDBCrt: "<SECURE_BOOT_DB_CRT_PATH>"
# secureBootDBCer: "<SECURE_BOOT_DB_CER_PATH>"
packages:
- ubuntu-minimal
- systemd-boot
- dracut-core
- systemd
- cryptsetup-bin
- openssh-server
- systemd-resolved
- systemd-timesyncd
# ROS2
- ros-jazzy-ros-base
- ros-jazzy-rmw-cyclonedds-cpp
- ros-jazzy-demo-nodes-py
kernel:
version: "6.17"
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7"
packages:
- linux-image-generic-hwe-24.04
configurations:
# Create ROS data directories with full permissions
- cmd: "mkdir -p /opt/ros-data/log"
- cmd: "mkdir -p /opt/ros-data/tmp"
- cmd: "chmod -R 777 /opt/ros-data"
# Add basic environment variables to /etc/environment (optional, for non-shell processes)
- cmd: "echo 'ROS_HOME=/opt/ros-data' >> /etc/environment"
- cmd: "echo 'ROS_LOG_DIR=/opt/ros-data/log' >> /etc/environment"
- cmd: "echo 'TMPDIR=/opt/ros-data/tmp' >> /etc/environment"
- cmd: "echo 'RMW_IMPLEMENTATION=rmw_cyclonedds_cpp' >> /etc/environment"