From 21f8e5332f7a64ca9251ec021cf00d2074ce7091 Mon Sep 17 00:00:00 2001 From: Lepton Wu Date: Wed, 27 Mar 2024 16:09:42 -0700 Subject: [PATCH] jail: Also bind mount libdrm dir. 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 Commit-Queue: Lepton Wu Reviewed-by: Daniel Verkamp --- jail/src/helpers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/jail/src/helpers.rs b/jail/src/helpers.rs index a490122e56..8d7be5c507 100644 --- a/jail/src/helpers.rs +++ b/jail/src/helpers.rs @@ -382,6 +382,7 @@ pub fn create_gpu_minijail( "/lib64", "/usr/share/drirc.d", "/usr/share/glvnd", + "/usr/share/libdrm", "/usr/share/vulkan", ], )?;