From 0e959df19b7264b354221313c87fd0b704d94738 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sat, 1 Mar 2025 08:30:02 -0500 Subject: config.sh: Drop unnecessary initrd rebuild logic for SoaS The initramfs is built after config.sh is run anyway. --- config.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config.sh b/config.sh index 8795ede..458e434 100755 --- a/config.sh +++ b/config.sh @@ -289,11 +289,8 @@ Sugar on a Stick EOF cat /etc/fedora-release >> /boot/olpc_build -# Rebuild initrd for Sugar boot screen -- TODO: Switch to kiwi declarative stanza -KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n') +# Set the default Plymouth theme to the Sugar Desktop one /usr/sbin/plymouth-set-default-theme sugar -sed -i -r 's/(omit_dracutmodules\+\=.*) plymouth (.*)/\1 \2/' /etc/dracut.conf.d/99-liveos.conf -dracut --force-add plymouth -N -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION # Fix https://bugzilla.redhat.com/show_bug.cgi?id=2239137 cat > /etc/xdg/autostart/xfce-polkit.desktop <