aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--components/desktop-environments.xml22
-rwxr-xr-xconfig.sh45
2 files changed, 0 insertions, 67 deletions
diff --git a/components/desktop-environments.xml b/components/desktop-environments.xml
index dee059b..3347545 100644
--- a/components/desktop-environments.xml
+++ b/components/desktop-environments.xml
@@ -135,28 +135,6 @@
<namedCollection name="phosh-desktop-environment"/>
<package name="fedora-release-phosh"/>
</packages>
- <packages type="image" patternType="plusRecommended" profiles="SoaS-Desktop">
- <!-- install env-group to resolve RhBug:1891500 -->
- <namedCollection name="sugar-desktop-environment"/>
- <package name="fedora-release-soas"/>
- <package name="dejavu-sans-fonts"/>
- <package name="dejavu-sans-mono-fonts"/>
- <package name="madan-fonts"/>
- <package name="aajohan-comfortaa-fonts"/>
- <package name="sil-abyssinica-fonts"/>
- <package name="vlgothic-fonts"/>
- <package name="rp-pppoe"/> <!-- See http://bugs.sugarlabs.org/ticket/1951 -->
- <package name="livecd-tools"/> <!-- See http://bugs.sugarlabs.org/ticket/74 -->
- <package name="xfce-polkit"/>
- <ignore name="@gnome-desktop"/>
- <ignore name="firefox"/>
- <ignore name="ibus*"/>
- <ignore name="openbox"/>
- <ignore name="PackageKit"/>
- <!-- Drop these to allow the Sugar boot screen -->
- <ignore name="plymouth-system-theme"/>
- <ignore name="plymouth-theme-charge"/>
- </packages>
<packages type="image" patternType="plusRecommended" profiles="Sway-Desktop">
<!-- install env-group to resolve RhBug:1891500 -->
<namedCollection name="sway-desktop-environment"/>
diff --git a/config.sh b/config.sh
index 4508d9c..7abd097 100755
--- a/config.sh
+++ b/config.sh
@@ -63,9 +63,6 @@ if [[ "$kiwi_profiles" == *"Live"* ]]; then
if [[ "$kiwi_profiles" == *"KDE"* ]]; then
echo 'livesys_session="kde"' > /etc/sysconfig/livesys
fi
- if [[ "$kiwi_profiles" == *"SoaS"* ]]; then
- echo 'livesys_session="soas"' > /etc/sysconfig/livesys
- fi
fi
#======================================
@@ -195,46 +192,4 @@ if [[ "$kiwi_profiles" == *"Container"* ]]; then
fi
fi
-if [[ "$kiwi_profiles" == *"SoaS"* ]]; then
-# Get proper release naming in the control panel
-cat >> /boot/olpc_build << EOF
-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')
-/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
-
-# 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
-
exit 0