aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-03-01 06:29:38 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-03-01 06:33:04 -0500
commitcd8fae15469e47690bab7057ea8d7ca75f118d4f (patch)
tree0d2fa74b3dee89832b6a77f8facffac87f6a0233
parent960270bb861a0e54bc837f7feeb9c3a9b9a18661 (diff)
downloadkiwi-descriptions-cd8fae15469e47690bab7057ea8d7ca75f118d4f.tar.gz
kiwi-descriptions-cd8fae15469e47690bab7057ea8d7ca75f118d4f.zip
config.sh: Drop livesys scriptlets for SoaS
Some of this was already present in livesys-scripts and the rest was migrated.
-rwxr-xr-xconfig.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/config.sh b/config.sh
index 5034b83..9f49ffd 100755
--- a/config.sh
+++ b/config.sh
@@ -295,33 +295,6 @@ KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
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
-# Note that running rpm recreates the rpm db files which aren't needed or wanted
-rm -f /var/lib/rpm/__db*
-
-cat > /etc/sysconfig/desktop <<EOF
-PREFERRED=/usr/bin/sugar
-DISPLAYMANAGER=/usr/sbin/lightdm
-EOF
-
-# set up lightdm autologin
-sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
-sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
-
-# Don't use the default system user (in SoaS liveuser) as nick name
-# Disable the logout menu item in Sugar
-# Enable Sugar power management
-cat >/usr/share/glib-2.0/schemas/sugar.soas.gschema.override <<EOF
-[org.sugarlabs.user]
-default-nick='disabled'
-
-[org.sugarlabs]
-show-logout=false
-
-[org.sugarlabs.power]
-automatic=true
-EOF
-
-/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
fi
if [[ "$kiwi_profiles" == *"FEX"* ]]; then