From 554f85b4c2a91df0266049327b0399b7c1f4eac9 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")