Hello,
We are using an image based on weston-vivante:3 (also I tried :stable tag). The configuration for a docker-compose.yml for the image configuration looks like this
services:
our-service:
build:
context: .
dockerfile: Dockerfile
image: <OUR docker image>
volumes:
- /tmp:/tmp
- /dev:/dev
- /var/run/dbus:/var/run/dbus
- /var/run/docker.sock:/var/run/docker.sock
- application:/application # for run_on_host
device_cgroup_rules:
# ... for tty0
- "c 4:0 rmw"
# ... for tty7
- "c 4:7 rmw"
# ... for /dev/input devices
- "c 13:* rmw"
- "c 199:* rmw"
# ... for /dev/dri devices
- "c 226:* rmw"
# ... for our service
- "c 509:0 rmw"
- "c 510:0 rmw"
- "c 511:0 rmw"
depends_on: [
weston
]
privileged: true # required to access the /proc/device-tree
restart: always
user: torizon
weston:
image: torizon/weston-vivante:stable
environment:
- ACCEPT_FSL_EULA=1
# Required to get udev events from host udevd via netlink
network_mode: host
volumes:
- type: bind
source: /tmp
target: /tmp
- type: bind
source: /dev
target: /dev
- type: bind
source: /run/udev
target: /run/udev
cap_add:
- CAP_SYS_TTY_CONFIG
# Add device access rights through cgroup...
device_cgroup_rules:
# ... for tty0
- "c 4:0 rmw"
# ... for tty1
- "c 4:1 rmw"
# ... for tty7
- "c 4:7 rmw"
# ... for /dev/input devices
- "c 13:* rmw"
- "c 199:* rmw"
# ... for /dev/dri devices
- "c 226:* rmw"
restart: always
volumes:
application: # for run_on_host
The lockbox is successfully created, uploaded to Torizon cloud and is visible via app.torizon.io site.
When trying to build offline update using TCB 3.11 we are getting this error at certain point when it tries to fetch weston-vivante manifests .
Fetching docker-compose target 'spirometry-docker-apps-release-1.0.13a1'
Fetching target 'spirometry-docker-apps-release-1.0.13a1' from 'https://api.torizon.io/repo/api/v1/user_repo/targets/spirometry-docker-apps-release-1.0.13a1'...
Uptane info: target 'spirometry-docker-apps', version: 'release-1.0.13a1'
Fetching manifests for registry.gitlab.com/aktina/abc4/abc4-spirometry-module-software@sha256:e0dddf7758e63b3e07864a8f5b5975a949e3bd397411bed6e08eec8977379fc6...
Saving manifest of aktina/abc4/abc4-spirometry-module-software
Fetching manifests for torizon/weston-vivante@sha256:be8e1609c8e476e13b11890274454cf6c270b46500260ab0725091594a541cc0...
Saving manifest-list of torizon/weston-vivante
Saving manifest of torizon/weston-vivante [linux/arm64]
Saving manifest of torizon/weston-vivante [unknown/unknown]
An unexpected Exception occurred. Please provide the following stack trace to
the Toradex TorizonCore support team:
Traceback (most recent call last):
File "/builder/torizoncore-builder", line 222, in <module>
mainargs.func(mainargs)
File "/builder/tcbuilder/cli/platform.py", line 320, in do_platform_lockbox
platform_lockbox(
File "/builder/tcbuilder/cli/platform.py", line 302, in platform_lockbox
raise exc
File "/builder/tcbuilder/cli/platform.py", line 281, in platform_lockbox
fetch_offupdt_targets(
File "/builder/tcbuilder/cli/platform.py", line 198, in fetch_offupdt_targets
platform.fetch_compose_target(**params)
File "/builder/tcbuilder/backend/platform.py", line 713, in fetch_compose_target
images_selection = select_unique_images(
File "/builder/tcbuilder/backend/platform.py", line 558, in select_unique_images
images_selection = select_images(
File "/builder/tcbuilder/backend/platform.py", line 500, in select_images
assert _avail, \
AssertionError: There are no images matching platform 'linux/arm/v7' for 'torizon/weston-vivante@sha256:be8e1609c8e476e13b11890274454cf6c270b46500260ab0725091594a541cc0'
We donât set explicitly linux/arm/v7 anywhere in our configurations / docker files etc.
Thanks!