[spin-kickstarts] SoaS: explicitly provide firstboot(windowmanager)
by Peter Robinson
commit 59231b8360f655efe2e4722051880359d1f1cf5c
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Thu Apr 14 23:11:22 2011 +0100
SoaS: explicitly provide firstboot(windowmanager)
fedora-livecd-soas.ks | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks
index 6748353..23530b7 100644
--- a/fedora-livecd-soas.ks
+++ b/fedora-livecd-soas.ks
@@ -37,8 +37,9 @@ pulseaudio-utils
# Write breaks unless we do this (we don't need it anyway)
-@input-methods
-# explicitly remove openbox (need to find how its getting in there).
+# explicitly remove openbox and add metacity to hopefully deal with what firstboot wants
-openbox
+metacity
# Needed to show external hard drives
gvfs
13 years
Creating new ks files
by Bruno Wolff III
Note that the way the spin-kickstarts package build was designed, you need
to list the files to be included in the package in Makefile.am.
We just had a trouble report that a kde ks file was added recently to
the repo but apparently isn't in Makefile.am, so it wasn't included
in the spin-kickstarts rpm which broke the kde ks files that were changed
to include the new ks file.
It would be really nice if the various SIGs that produce spins ks files
would participate in the Spins SIG and let people know what you are doing.
13 years
I might be late for today's meeting
by Bruno Wolff III
I have a work meeting just before the Spin SIGs meeting that is across campus.
If that meeting doesn't finish a bit early, I may be late for Spin SIGs, but
barring the meeting taking longer than expected, I should be able to
participate today.
13 years
[spin-kickstarts] SoaS: Create a default gnome keyring - should fix RHBZ # 649013
by Peter Robinson
commit 1938cc03c6b032a97aa44e5b3d6d5cdc628d3e0a
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Mon Apr 11 15:48:19 2011 +0100
SoaS: Create a default gnome keyring - should fix RHBZ # 649013
fedora-livecd-soas.ks | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks
index 55f5e39..6748353 100644
--- a/fedora-livecd-soas.ks
+++ b/fedora-livecd-soas.ks
@@ -115,6 +115,23 @@ cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gsc
active=false
FOE
+# Create a default gnome keyring - should fix RHBZ # 649013
+if [ ! -e /home/liveuser/.gnome2/keyrings/default.keyring ]; then
+ mkdir -p /home/liveuser/.gnome2/keyrings
+ echo 'default' > /home/liveuser/.gnome2/keyrings/default
+ TIME=$(/bin/date +%s)
+ cat >/home/liveuser/.gnome2/keyrings/default.keyring.tmp <<FOE
+[keyring]
+display-name=default
+ctime=$TIME
+mtime=$TIME
+lock-on-idle=false
+lock-timeout=0
+ FOE
+ mv /home/liveuser/.gnome2/keyrings/default.keyring{.tmp,}
+ chown -R liveuser:liveuser /home/liveuser/.gnome2/keyrings
+fi
+
# Add our activities to the favorites
cat > /usr/share/sugar/data/activities.defaults << FOE
org.laptop.AbiWordActivity
13 years
[spin-kickstarts] SoaS: enable new Activities in the home view
by Peter Robinson
commit 34d89406d7160d63684f69abf0af470cc9eb37f5
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Mon Apr 11 15:46:57 2011 +0100
SoaS: enable new Activities in the home view
fedora-livecd-soas.ks | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks
index 867e5dc..55f5e39 100644
--- a/fedora-livecd-soas.ks
+++ b/fedora-livecd-soas.ks
@@ -119,16 +119,19 @@ FOE
cat > /usr/share/sugar/data/activities.defaults << FOE
org.laptop.AbiWordActivity
org.laptop.Chat
+org.laptop.Calculate
org.laptop.Log
+org.laptop.Memorize
org.laptop.physics
+org.laptop.Pippy
org.laptop.RecordActivity
org.laptop.Terminal
org.laptop.TurtleArtActivity
org.laptop.WebActivity
-org.laptop.Pippy
-org.laptop.Calculator
+org.sugarlabs.AbacusActivity
org.sugarlabs.IRC
org.vpri.EtoysActivity
+vu.lux.olpc.Speak
FOE
# rebuild schema cache with any overrides we installed
13 years
[spin-kickstarts] qa-testday: Resolve overriding of favorite-apps issue
by Bruno Wolff III
commit 8eb4d52259dc96db067a83c3941aea9eb2483964
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sun Apr 10 16:27:52 2011 -0500
qa-testday: Resolve overriding of favorite-apps issue
favorite-apps was set in persistant config for qa-testday, but only for
the live enviroment in live-desktop. The latter happens later since it
happens at run time, not build time. So a new section was added to
do a runtime override as well so the the qa-testday favorites are used
both in the live environment and after a test install.
custom/qa-test-day.ks | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 953784c..0239edc 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -40,6 +40,27 @@ unzip
%end
%post
+
+cat >> /etc/rc.d/init.d/livesys << EOF
+
+# Note the following needs to be done twice, once for the live environment
+# to override what live-desktop does (so it executes after it) and a second
+# time to make a persistant config, so that tests after install still
+# have the settings to faciliate testing.
+
+# Change the favorites using a vendor override. (Adding a profile would
+# be another way to do this.)
+cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
+[org.gnome.shell]
+favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
+FOE
+glib-compile-schemas /usr/share/glib-2.0/schemas/
+
+EOF
+
+# Note the following config setups persist after install. I think this is
+# good for qa-testday purposes, but is bad for most other purposes.
+
# Turn off alternate pages on first firefox use or after updates
unzip /usr/lib/firefox-*/omni.jar defaults/preferences/firefox-branding.js -d /tmp
cat << EOF >> /tmp/defaults/preferences/firefox-branding.js
@@ -88,7 +109,7 @@ EOF
# Change the favorites using a vendor override. (Adding a profile would
# be another way to do this.)
-cat << EOF >> /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
+cat << EOF >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
[org.gnome.shell]
favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
EOF
13 years
[spin-kickstarts] qa-testday: %post sections are not run in the order I expected.
by Bruno Wolff III
commit df72cdca24cde78e00290f3b8bd52e33a7a4ea6b
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sun Apr 10 10:39:47 2011 -0500
qa-testday: %post sections are not run in the order I expected.
Both qa-testday.ks and fedora-live-desktop.ks were trying to modify
/usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
by appending to the end of it. However, even though fedora-live-desktop.ks
was %included at the start of qa-testday.ks, the %post section from
fedora-live-desktop.ks was run second, so that its favorite-apps setting
was taking prference.
So I am going back to including a vender string in the name of the
override file. This seems to result in the config from qa-testday.ks
taking precedence. But I don't know if this is based on alphabetic
ordering by filename or just random happenstance. I have a question
pending on the kickstart list to see if I can get more information
on %post ordering.
custom/qa-test-day.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 5cd8dbb..953784c 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -88,7 +88,7 @@ EOF
# Change the favorites using a vendor override. (Adding a profile would
# be another way to do this.)
-cat << EOF >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
+cat << EOF >> /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
[org.gnome.shell]
favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
EOF
13 years
[spin-kickstarts] qa-testday: Add favorites to the same override file desktop uses.
by Bruno Wolff III
commit 9a9545c41fe8f0aad1cd8374bcfb75c54f032251
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sun Apr 10 08:39:47 2011 -0500
qa-testday: Add favorites to the same override file desktop uses.
It looks like the override for favorites working depending on the
override file from qa-testday being processed after that from
live-desktop. It worked in testing, but might not work later.
So instead use append and the same name. This will put the qa-testday
definition after the live-desktop one in the same file.
custom/qa-test-day.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 5a02a65..5cd8dbb 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -88,7 +88,7 @@ EOF
# Change the favorites using a vendor override. (Adding a profile would
# be another way to do this.)
-cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
+cat << EOF >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
[org.gnome.shell]
favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
EOF
13 years
[spin-kickstarts: 24/24] Merge branch 'qa'
by Bruno Wolff III
commit 72f0d81e1a60240b988a349e22572021279f9eb2
Merge: cbc726f ae3d381
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sun Apr 10 00:03:02 2011 -0500
Merge branch 'qa'
custom/qa-test-day.ks | 62 ++++++++++++++++++++++++++++++++++++------------
1 files changed, 46 insertions(+), 16 deletions(-)
---
13 years