[go: up one dir, main page]

Skip to content

Commit

Permalink
jail: Also bind mount libdrm dir.
Browse files Browse the repository at this point in the history
Fix "/usr/share/libdrm/amdgpu.ids: No such file or directory"
warnings on AMD platforms.

BUG=b:331655015
TEST=`crosvm run --gpu 3d vmlinux`

Change-Id: Idba7c65de2f9d7a6b215284aa339919be756ba83
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5401918
Reviewed-by: Ryan Neph <ryanneph@google.com>
Commit-Queue: Lepton Wu <lepton@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
  • Loading branch information
Lepton Wu authored and crosvm LUCI committed Mar 27, 2024
1 parent 4c5471a commit 21f8e53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jail/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ pub fn create_gpu_minijail(
"/lib64",
"/usr/share/drirc.d",
"/usr/share/glvnd",
"/usr/share/libdrm",
"/usr/share/vulkan",
],
)?;
Expand Down

0 comments on commit 21f8e53

Please sign in to comment.