[spin-kickstarts] Prevent reseting the clock when shutting down.
by Bruno Wolff III
commit d935d49b26109e2ba70b797de5407758224aa646
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Wed Mar 30 23:00:32 2011 -0500
Prevent reseting the clock when shutting down.
With systemd the old method of preventing the hardware clock from
getting reset no longer works and we need to do it a bit differently.
fedora-live-base.ks | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index f2d7766..a88834c 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -81,6 +81,9 @@ exists() {
touch /.liveimg-configured
+# Make sure we don't mangle the hardware clock on shutdown
+ln -sf /dev/null /etc/systemd/system/hwclock-save.service
+
# mount live image
if [ -b \`readlink -f /dev/live\` ]; then
mkdir -p /mnt/live
@@ -207,9 +210,6 @@ chkconfig --level 345 atd off 2>/dev/null || :
# Stopgap fix for RH #217966; should be fixed in HAL instead
touch /media/.hal-mtab
-# workaround clock syncing on shutdown that we don't want (#297421)
-sed -i -e 's/hwclock/no-such-hwclock/g' /etc/rc.d/init.d/halt
-
# and hack so that we eject the cd on shutdown if we're using a CD...
if strstr "\`cat /proc/cmdline\`" CDLABEL= ; then
cat >> /sbin/halt.local << FOE
12 years, 2 months
[spin-kickstarts] live desktop: The patition image size needs to be bumped.
by Bruno Wolff III
commit f97756babbccc68da1e46ff9ed77bf966d065ead
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Wed Mar 30 22:56:30 2011 -0500
live desktop: The patition image size needs to be bumped.
The 1 GB version of live desktop was using the default image size for
CD sized images of 3 GB. This was no longer enough space to do the
build.
fedora-live-desktop.ks | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index e96b130..a06d03a 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -4,6 +4,8 @@
%include fedora-live-base.ks
+part / --size 4096
+
%packages
@graphical-internet
@sound-and-video
12 years, 2 months
Beta freeze in one week
by Bruno Wolff III
Since live images are being composed use the git repo at this point in the
release process (branch happens around final freeze), it is important
to not be checking in changes to the spin-kickstarts repo for the Desktop
(gnome) or KDE spins or anything they include during the Beta freeze
period unless it is to fix a Beta blocker bug or a Beta Nice to Have bug.
Please do not push out such changes during that time.
Beta freeze starts late on Tuesday April 5th and continues until a release
candidate is accepted. Typically acceptance is done at a Go / No Go
meeting, the first of which will be on April 13th.
12 years, 2 months
[spin-kickstarts] desktop: fix installer extension
by Matthias Clasen
commit 907f463ac07125cf3c22a19ff27619eb79d6f71d
Author: Ray Strode <rstrode(a)redhat.com>
Date: Tue Mar 29 01:47:04 2011 -0400
desktop: fix installer extension
We were using the wrong api so it didn't work.
fedora-live-desktop.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 65a44eb..e96b130 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -60,7 +60,7 @@ const Util = imports.misc.util;
function main() {
let app = Shell.AppSystem.get_default().get_app('anaconda.desktop');
let item = new PopupMenu.PopupMenuItem(app.get_name());
- item.connect('activate', function() { app.launch(); });
+ item.connect('activate', function() { app.activate(-1); });
Main.panel._statusmenu.menu.addMenuItem(item, Main.panel._statusmenu.menu._getMenuItems().length - 1);
}
12 years, 2 months
[spin-kickstarts] Desktop: Make AutomaticLogin understood by accounts service
by Matthias Clasen
commit eda88e846ac0623341c42a068b79a57d1c818f77
Author: Matthias Clasen <mclasen(a)redhat.com>
Date: Tue Mar 29 00:11:54 2011 -0400
Desktop: Make AutomaticLogin understood by accounts service
gdm doesn't care for upper- or lowercase, but the accountsservice
currently only accepts 'True'. The upshot is that the liveuser does
not appear to have autologin enabled in the user accounts panel
in GNOME, when it really should.
fedora-live-desktop.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 8d14f65..65a44eb 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -74,7 +74,7 @@ glib-compile-schemas /usr/share/glib-2.0/schemas
# set up timed auto-login for after 60 seconds
cat >> /etc/gdm/custom.conf << FOE
[daemon]
-AutomaticLoginEnable=true
+AutomaticLoginEnable=True
AutomaticLogin=liveuser
FOE
12 years, 2 months
Nightly live composes in koji
by Kevin Fenzi
Greetings.
I've moved over to doing the nightly live media composes in koji
instead of running them in serial on one build machine.
Advantages:
* Composes will finish in ~30min or so for all spins instead of taking
all day on the one compose machine.
* They are scratch builds, so koji will keep them around for 2 weeks
(or less if that changes). This allows you to go back and look at
older ones anytime you like, including logs and sizes.
* This is the same env that will be used to produce official live
media, so we are more closely testing what we are making.
Disadvantages:
* It's now harder to tell when media are growing over time. Perhaps
someone could look at some reporting here to let us just pull the
size from the jobs out to graph trends?
* It's harder for us to test something like a new livecd-tools or
other packages that are not yet in branched stable.
You can find a list of the builds and links to their koji task pages
at:
http://alt.fedoraproject.org/pub/alt/nightly-composes/current.html
Or older ones at http://alt.fedoraproject.org/pub/alt/nightly-composes/
Please do test things out and let me know if anyone runs into any
issues that would require us to go back to the old way. ;)
Thanks,
kevin
12 years, 2 months
[spin-kickstarts] [FEL] openoffice.org renamed to libreoffice
by Jens Petersen
commit 41b77453d5385f0eca291dcde5bcca6a5b2518c1
Author: Jens Petersen <petersen(a)redhat.com>
Date: Fri Mar 25 12:14:54 2011 +0900
[FEL] openoffice.org renamed to libreoffice
fedora-livedvd-electronic-lab.ks | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/fedora-livedvd-electronic-lab.ks b/fedora-livedvd-electronic-lab.ks
index 7c2097c..c4a8e4a 100644
--- a/fedora-livedvd-electronic-lab.ks
+++ b/fedora-livedvd-electronic-lab.ks
@@ -20,10 +20,10 @@ part / --size=8192
# Office
dia
vym
-openoffice.org-writer
-openoffice.org-calc
-openoffice.org-impress
-openoffice.org-extendedPDF
+libreoffice-writer
+libreoffice-calc
+libreoffice-impress
+#libreoffice-extendedPDF
planner
graphviz
12 years, 2 months
[spin-kickstarts] desktop: actually disable the updates plugin
by Matthias Clasen
commit 94408125e71bc90eb2f1d9d0d51b2d7b2bb1eead
Author: William Jon McCann <jmccann(a)redhat.com>
Date: Wed Mar 23 20:37:47 2011 -0400
desktop: actually disable the updates plugin
We don't need updates to be installed on the live image. The
method used in the live base doesn't work.
fedora-live-desktop.ks | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index dc94c14..8d14f65 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -27,6 +27,12 @@ cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.overrid
lock-enabled=false
FOE
+# disable updates plugin
+cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override << FOE
+[org.gnome.settings-daemon.plugins.updates]
+active=false
+FOE
+
# make the installer show up
if [ -f /usr/share/applications/liveinst.desktop ]; then
# Show harddisk install in shell dash
12 years, 2 months
[spin-kickstarts] desktop: prevent unintended failures in the livesys initscript
by Matthias Clasen
commit 8141a790b574b7a352da54459e6f31081299dab3
Author: Matthias Clasen <mclasen(a)redhat.com>
Date: Wed Mar 23 11:58:48 2011 -0400
desktop: prevent unintended failures in the livesys initscript
Some of the tweaks we do there may fail if the packages containing
the touched files are not present. Better be careful.
fedora-live-desktop.ks | 32 ++++++++++++++++++++------------
1 files changed, 20 insertions(+), 12 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index f722e99..dc94c14 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -27,24 +27,25 @@ cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.overrid
lock-enabled=false
FOE
-# Show harddisk install in shell dash
-sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
-# need to move it to anaconda.desktop to make shell happy
-mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
-
-cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
+# make the installer show up
+if [ -f /usr/share/applications/liveinst.desktop ]; then
+ # Show harddisk install in shell dash
+ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
+ # need to move it to anaconda.desktop to make shell happy
+ mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
+
+ cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell]
favorite-apps=['mozilla-firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'anaconda.desktop']
FOE
-glib-compile-schemas /usr/share/glib-2.0/schemas
-# add installer to user menu
-mkdir -p ~liveuser/.local/share/gnome-shell/extensions/Installer(a)shell-extensions.fedoraproject.org
-cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer(a)shell-extensions.fedoraproject.org/metadata.json << FOE
+ # add installer to user menu
+ mkdir -p ~liveuser/.local/share/gnome-shell/extensions/Installer(a)shell-extensions.fedoraproject.org
+ cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer(a)shell-extensions.fedoraproject.org/metadata.json << FOE
{"shell-version": ["2.91.91"], "uuid": "Installer(a)shell-extensions.fedoraproject.org", "name": "Installer", "description": "Install OS from user menu"}
FOE
-cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer(a)shell-extensions.fedoraproject.org/extension.js << FOE
+ cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer(a)shell-extensions.fedoraproject.org/extension.js << FOE
const PopupMenu = imports.ui.popupMenu;
const Shell = imports.gi.Shell;
const Main = imports.ui.main;
@@ -59,6 +60,11 @@ function main() {
}
FOE
+fi
+
+# rebuild schema cache with any overrides we installed
+glib-compile-schemas /usr/share/glib-2.0/schemas
+
# set up timed auto-login for after 60 seconds
cat >> /etc/gdm/custom.conf << FOE
[daemon]
@@ -67,7 +73,9 @@ AutomaticLogin=liveuser
FOE
# Turn off PackageKit-command-not-found while uninstalled
-sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
+if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
+ sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
+fi
EOF
12 years, 2 months