Skip to content

Commit

Permalink
chore(hwil): supports Ubuntu 24.04 flavour
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabpain committed Nov 23, 2024
1 parent ee17ae8 commit 24bb3ba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion riocli/apply/manifests/device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
product: "sootballs" # Required Options: ["sootballs", "flaptter", "oks", "platform"]
arch: "amd64" # Options: ["amd64" (default), "arm64" ]
os: "ubuntu" # Options: ["ubuntu" (default), "debian" ]
codename: "focal" # Options: ["bionic", "focal" (default), "jammy", "bullseye"]
codename: "focal" # Options: ["bionic", "focal" (default), "jammy", "noble", "bullseye"]
highperf: False # Optional [True, False (default)]
wait: True # Optional [True, False (default)] Wait until the device is ready.
docker:
Expand Down
2 changes: 1 addition & 1 deletion riocli/hwil/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"--codename",
"codename",
help="Code name of the OS",
type=click.Choice(["bionic", "focal", "jammy", "bullseye"]),
type=click.Choice(["bionic", "focal", "jammy", "noble", "bullseye"]),
default="focal",
)
@click.argument("device-name", type=str)
Expand Down
11 changes: 6 additions & 5 deletions riocli/hwilclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@ class Client(object):
ARCH_OS_DICT = {
"amd64": {
"ubuntu": {
"bionic": "ubuntu-bionic-ros-melodic-py3",
"focal": "ubuntu-focal-ros-noetic-py3",
"jammy": "ubuntu-jammy-plain-py3",
"bionic": "bionic",
"focal": "focal",
"jammy": "jammy",
"noble": "noble",
}
},
"arm64": {
"ubuntu": {"focal": "ubuntu-focal-ros-noetic-py3"},
"debian": {"bullseye": "debian-bullseye-docker"},
"ubuntu": {"focal": "focal"},
"debian": {"bullseye": "bullseye"},
},
}

Expand Down

0 comments on commit 24bb3ba

Please sign in to comment.