mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-15 13:13:08 +00:00
aa32bc6bb0
Primarily changes for UEFI on ARMv7 but also some cleanups/updates for the arm/aarch64 images. Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
# fedora-livecd-soas.ks
|
|
#
|
|
# Description:
|
|
# - A Sugar environment that you can carry in your pocket
|
|
#
|
|
# Maintainers:
|
|
# - Chihurumnaya Ibiam <ibiamchihurumnaya AT gmail DOT com>
|
|
# - Alex Perez <aperez AT alexperez DOT com>
|
|
|
|
%include fedora-live-base.ks
|
|
%include fedora-live-minimization.ks
|
|
%include fedora-soas-common.ks
|
|
|
|
%post
|
|
|
|
cat >> /etc/rc.d/init.d/livesys << 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
|
|
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
|
|
|
# set Sugar as default session, otherwise login will fail
|
|
sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
|
|
EOF
|
|
|
|
cat >> /etc/rc.d/init.d/livesys-late << EOF
|
|
|
|
# disable screensaver locking
|
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
|
|
[org.gnome.desktop.screensaver]
|
|
lock-enabled=false
|
|
FOE
|
|
|
|
# and hide the lock screen option
|
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.override << FOE
|
|
[org.gnome.desktop.lockdown]
|
|
disable-lock-screen=true
|
|
FOE
|
|
|
|
# rebuild schema cache with any overrides we installed
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas
|
|
|
|
EOF
|
|
|
|
chmod 755 /etc/rc.d/init.d/livesys-late
|
|
/sbin/restorecon /etc/rc.d/init.d/livesys-late
|
|
/sbin/chkconfig --add livesys-late
|
|
|
|
%end
|