Files
fluffy-pancake/build/20-multimedia.sh
T

37 lines
1.0 KiB
Bash
Raw Normal View History

#!/usr/bin/bash
set -eoux pipefail
2026-04-24 20:38:19 +02:00
2026-04-24 20:42:38 +02:00
###############################################################################
# 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 \
# --allowerasing \
# --skip-unavailable \
# mesa-va-drivers-freeworld.x86_64 \
# mesa-vdpau-drivers-freeworld.x86_64 \
# mesa-vulkan-drivers-freeworld.x86_64 \
# mesa-dri-drivers-freeworld.x86_64 \
# ffmpeg.x86_64 \
# gstreamer1-libav \
# gstreamer1-plugins-ugly \
# gstreamer1-plugins-bad-free-extras \
# intel-media-driver \
#dnf5 install -y @multimedia
echo "Installing rocm"
dnf5 install -y \
rocm-clinfo \
rocm-hip \
rocm-opencl \
rocblas \
hipblas \
rocm-runtime
2026-04-24 20:42:38 +02:00
# --- 2. Die sofortige Bereinigung (WICHTIG!) ---
echo "Cleaning up this layer..."
dnf5 clean all || true
rm -rf /tmp/* /var/tmp/* || true