Skip to content

Commit

Permalink
more live fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed May 14, 2024
1 parent c0af4a8 commit 1dfd319
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
5 changes: 1 addition & 4 deletions katsu/modules/flagship/flagship-live.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ sed -i 's/^livesys_session=.*/livesys_session="budgie"/' /etc/sysconfig/livesys
cat >> /var/lib/livesys/livesys-session-extra << EOF
# Update installer icon
sed -i -e 's/Icon=org.fedoraproject.AnacondaInstaller/Icon=drive-harddisk/' /usr/share/applications/liveinst.desktop
# Install welcome screen
sed -i 's/Fedora/Ultramarine/g' /usr/share/anaconda/gnome/fedora-welcome
sed -i 's/fedora-logo-icon/ultramarine/g' /usr/share/anaconda/gnome/fedora-welcome
sed -i -e 's/Icon=org.fedoraproject.AnacondaInstaller/Icon=drive-harddisk/' /home/liveuser/Desktop/liveinst.desktop
# allow anaconda to use system icon theme
sed -i -e 's/settings.set_property("gtk-icon-theme-name", "Adwaita")//' /usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/__init__.py
Expand Down
15 changes: 0 additions & 15 deletions katsu/modules/live/live.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,9 @@ systemctl set-default graphical.target
dnf reinstall -y anaconda-core || true && dnf clean all

cat >>/var/lib/livesys/livesys-session-extra <<EOF
# Install welcome screen autostart file
mkdir -p /home/liveuser/.config/autostart
cat > /home/liveuser/.config/autostart/ultramarine-welcome.desktop << EOA
[Desktop Entry]
Name=Welcome to Ultramarine
Comment=Welcome to Ultramarine
Exec=bash -c "sudo glib-compile-schemas /usr/share/glib-2.0/schemas || : && /usr/share/anaconda/gnome/fedora-welcome"
Terminal=false
Type=Application
# Remove the initial setup configs, we actually don't need them for now
rm -rf /.unconfigured
systemctl disable initial-setup || true
EOA
EOF

echo "Setting up some extra post scripts"
Expand Down

0 comments on commit 1dfd319

Please sign in to comment.