forked from srbala/fedora-kickstarts
SoaS: numerous fixes to the SoaS live image ks
This commit is contained in:
parent
59231b8360
commit
d986597f72
@ -20,6 +20,9 @@ part / --size=2048
|
|||||||
# explicitly remove sugar-read due to dep issues
|
# explicitly remove sugar-read due to dep issues
|
||||||
-sugar-read
|
-sugar-read
|
||||||
|
|
||||||
|
# Add accountservice for gdm lookup of names
|
||||||
|
accountsservice
|
||||||
|
|
||||||
# == Platform Components ==
|
# == Platform Components ==
|
||||||
# from http://wiki.sugarlabs.org/go/0.88/Platform_Components
|
# from http://wiki.sugarlabs.org/go/0.88/Platform_Components
|
||||||
alsa-plugins-pulseaudio
|
alsa-plugins-pulseaudio
|
||||||
@ -97,7 +100,6 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults
|
|||||||
# Enable Sugar power management
|
# Enable Sugar power management
|
||||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null
|
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
|
||||||
# disable screensaver locking
|
# disable screensaver locking
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
|
||||||
[org.gnome.desktop.screensaver]
|
[org.gnome.desktop.screensaver]
|
||||||
@ -117,20 +119,17 @@ active=false
|
|||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Create a default gnome keyring - should fix RHBZ # 649013
|
# Create a default gnome keyring - should fix RHBZ # 649013
|
||||||
if [ ! -e /home/liveuser/.gnome2/keyrings/default.keyring ]; then
|
if [ ! -e /home/liveuser/.gnome2/keyrings/login.keyring ]; then
|
||||||
mkdir -p /home/liveuser/.gnome2/keyrings
|
mkdir -p /home/liveuser/.gnome2/keyrings
|
||||||
echo 'default' > /home/liveuser/.gnome2/keyrings/default
|
cat >> /home/liveuser/.gnome2/keyrings/login.keyring << FOE
|
||||||
TIME=$(/bin/date +%s)
|
|
||||||
cat >/home/liveuser/.gnome2/keyrings/default.keyring.tmp <<FOE
|
|
||||||
[keyring]
|
[keyring]
|
||||||
display-name=default
|
display-name=login
|
||||||
ctime=$TIME
|
ctime=1302886515
|
||||||
mtime=$TIME
|
mtime=1302886515
|
||||||
lock-on-idle=false
|
lock-on-idle=false
|
||||||
lock-timeout=0
|
lock-timeout=0
|
||||||
FOE
|
FOE
|
||||||
mv /home/liveuser/.gnome2/keyrings/default.keyring{.tmp,}
|
chown -R liveuser:liveuser /home/liveuser/.gnome2/keyrings
|
||||||
chown -R liveuser:liveuser /home/liveuser/.gnome2/keyrings
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add our activities to the favorites
|
# Add our activities to the favorites
|
||||||
|
Loading…
Reference in New Issue
Block a user