From 4581039da8f3a6ee44708fa038afe0c3215612e1 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 9 Feb 2022 13:51:55 -0800 Subject: [PATCH] runtime-cleanup: drop gallium-pipe drivers from mesa-dri-drivers per airlied, these are mainly intended for compute (OpenCL), they may also be used by vaapi/vdpau (video playback acceleration), but they're definitely not used for regular graphics. Signed-off-by: Adam Williamson --- share/templates.d/99-generic/runtime-cleanup.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl index 8854215d..b69d9538 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -234,7 +234,8 @@ removefrom linux-firmware /usr/lib/firmware/mellanox/mlxsw_spectrum* %endif removefrom lldpad /etc/* removefrom mdadm /etc/* /usr/lib/systemd/system/mdmonitor* -removefrom mesa-dri-drivers /usr/${libdir}/dri/*_video.so +## gallium-pipe stuff is for compute (opencl), not needed for video +removefrom mesa-dri-drivers /usr/${libdir}/dri/*_video.so /usr/lib64/gallium-pipe/* removefrom mt-st /usr/sbin/* removefrom mtools /etc/* removefrom ncurses-libs /usr/${libdir}/libform*