From a2b385945f560f6dc2665cd117bef60e9c04e2b9 Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Fri, 24 Apr 2026 20:42:38 +0200 Subject: [PATCH] Install multimedia stack and cleanup Install multimedia stack including Mesa drivers and codecs, followed by cleanup. --- build/20-multimedia.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/build/20-multimedia.sh b/build/20-multimedia.sh index 0901d42..b188fa1 100644 --- a/build/20-multimedia.sh +++ b/build/20-multimedia.sh @@ -1,3 +1,28 @@ #!/usr/bin/bash set -eoux pipefail +############################################################################### +# Transaction 1: Multimedia Stack (Mesa + Codecs + Group) +# Zusammengefasst, um Abhängigkeiten in einem Schritt zu lösen. +############################################################################### +echo "Installing Multimedia stack (Mesa Freeworld, Codecs & Groups)..." +dnf5 install -y \ + mesa-va-drivers-freeworld \ + mesa-vdpau-drivers-freeworld \ + mesa-vulkan-drivers-freeworld \ + ffmpeg \ + ffmpeg-libs \ + libavcodec-freeworld \ + gstreamer1-libav \ + gstreamer1-plugins-bad-freeworld \ + gstreamer1-plugins-ugly \ + --allowerasing + +# Die Gruppeninstallation bleibt separat, da sie eine eigene logische Einheit ist +dnf5 group install -y multimedia --with-optional --allowerasing + +# --- 2. Die sofortige Bereinigung (WICHTIG!) --- +echo "Cleaning up this layer..." +dnf5 clean all || true +dnf5 autoremove -y || true +rm -rf /tmp/* /var/tmp/* || true