Skip to content

Commit

Permalink
scripts: Mount /run/udev for gamepads
Browse files Browse the repository at this point in the history
  • Loading branch information
cadubentzen committed Aug 1, 2024
1 parent 38bbcbb commit 554f85b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/host-only/wkdev-create
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 554f85b

Please sign in to comment.