From c134c6e9f960f1f32f3bf764ea4ed52fadaa4675 Mon Sep 17 00:00:00 2001 From: Carlos Bentzen Date: Thu, 1 Aug 2024 15:55:15 +0200 Subject: [PATCH] scripts: Mount /run/udev for gamepads --- scripts/host-only/wkdev-create | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/host-only/wkdev-create b/scripts/host-only/wkdev-create index 875d657..f1bcb7d 100755 --- a/scripts/host-only/wkdev-create +++ b/scripts/host-only/wkdev-create @@ -408,8 +408,9 @@ build_podman_create_arguments() { # Mount /dev/pts in container (pseudo-terminal support). arguments+=("--mount" "type=devpts,destination=/dev/pts") - # Mount /dev for devices like gamepads + # Mount /dev and /run/udev for devices like gamepads arguments+=("-v" "/dev/:/dev:rslave") + arguments+=("-v" "/run/udev:/run/udev") # Mount a tmpfs. arguments+=("--tmpfs" "/tmp")