diff --git a/meta-lmp-base/recipes-containers/docker/files/daemon.json.in b/meta-lmp-base/recipes-containers/docker/files/daemon.json.in index 2fe0196653..b15c1941a8 100644 --- a/meta-lmp-base/recipes-containers/docker/files/daemon.json.in +++ b/meta-lmp-base/recipes-containers/docker/files/daemon.json.in @@ -3,6 +3,9 @@ "log-opts": { "tag": "{{.Name}}" }, + "features": { + "cdi": true + }, @@DOCKER_DAEMON_JSON_CUSTOM@@ "max-concurrent-downloads": @@MAX_CONCURRENT_DOWNLOADS@@, "max-download-attempts": @@MAX_DOWNLOAD_ATTEMPTS@@ diff --git a/meta-lmp-base/recipes-containers/wayland-cdi/files/wayland-cdi-generate b/meta-lmp-base/recipes-containers/wayland-cdi/files/wayland-cdi-generate new file mode 100755 index 0000000000..830c2602c6 --- /dev/null +++ b/meta-lmp-base/recipes-containers/wayland-cdi/files/wayland-cdi-generate @@ -0,0 +1,47 @@ +#!/bin/sh + +cditmp="/run/cdi/.wayland.yaml.tmp" + +mkdir -p /run/cdi +cat >${cditmp} <>${cditmp} <>${cditmp} <>${cditmp} <