fixed several configs and missing packages, added plymouth
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user