Files
fluffy-pancake/build/23-plymouth.sh
T

33 lines
1.2 KiB
Bash
Raw Normal View History

#!/usr/bin/bash
set -eoux pipefail
###############################################################################
# Transaction: Plymouth Bootsplash (Text-Theme "fluffy-pancake")
###############################################################################
# - Eigenes Theme aus build/plymouth-theme/ installieren, als Default setzen.
# - Initramfs neu bauen (Plymouth-Modul muss rein, sonst kein Early-Splash).
# no-hostonly = laeuft auf jeder Hardware (VM + Laptop).
# Kernel aus dem IMAGE (/usr/lib/modules), NICHT uname -r (Host-Kernel!).
###############################################################################
echo "Installing Plymouth splash (fluffy-pancake)..."
dnf5 install -y \
--allowerasing \
plymouth \
2026-09-28 07:04:47 +02:00
plymouth-system-theme \
plymouth-plugin-script
mkdir -p /usr/share/plymouth/themes/fluffy
cp /tmp/plymouth-theme/fluffy.plymouth /tmp/plymouth-theme/fluffy.script \
/usr/share/plymouth/themes/fluffy/
plymouth-set-default-theme fluffy
for kdir in /usr/lib/modules/*; do
kver="$(basename "${kdir}")"
dracut --force --no-hostonly --kver "${kver}" "${kdir}/initramfs.img"
done
systemctl enable plymouth-start.service || true
dnf5 clean all