32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
#!/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 \
|
|
plymouth-system-theme
|
|
|
|
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
|