diff options
| author | 2025-03-01 06:29:38 -0500 | |
|---|---|---|
| committer | 2025-03-01 06:33:04 -0500 | |
| commit | cd8fae15469e47690bab7057ea8d7ca75f118d4f (patch) | |
| tree | 0d2fa74b3dee89832b6a77f8facffac87f6a0233 | |
| parent | 960270bb861a0e54bc837f7feeb9c3a9b9a18661 (diff) | |
| download | kiwi-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-x | config.sh | 27 |
1 files changed, 0 insertions, 27 deletions
@@ -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 |