[Fedora-spins] [spin-kickstarts] Disable gnome-software automatic updates downloading

Kalev Lember kalev at fedoraproject.org
Tue Jun 3 11:27:59 UTC 2014


commit f844fe279174500fcc8f0dbca7600156d4c8a82b
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Tue Jun 3 13:25:11 2014 +0200

    Disable gnome-software automatic updates downloading
    
    The gnome-settings-daemon updates plugin is gone and update downloading
    is handled by gnome-software instead. Adapt the live image schema
    overrides for the changes.

 fedora-live-base.ks        |    2 +-
 fedora-live-desktop.ks     |    6 +++---
 fedora-live-workstation.ks |    6 +++---
 fedora-livedvd-robotics.ks |    6 +++---
 4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 3e29713..54197df 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -193,7 +193,7 @@ systemctl stop mdmonitor.service 2> /dev/null || :
 systemctl stop mdmonitor-takeover.service 2> /dev/null || :
 
 # don't enable the gnome-settings-daemon packagekit plugin
-gsettings set org.gnome.settings-daemon.plugins.updates active 'false' || :
+gsettings set org.gnome.software download-updates 'false' || :
 
 # don't start cron/at as they tend to spawn things which are
 # disk intensive that are painful on a live image
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 0108c6b..8bf92e9 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -12,9 +12,9 @@ cat >> /etc/rc.d/init.d/livesys << EOF
 
 
 # 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
+cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
+[org.gnome.software]
+download-updates=false
 FOE
 
 # don't run gnome-initial-setup
diff --git a/fedora-live-workstation.ks b/fedora-live-workstation.ks
index 00ee9fd..4a0fe16 100644
--- a/fedora-live-workstation.ks
+++ b/fedora-live-workstation.ks
@@ -16,9 +16,9 @@ cat >> /etc/rc.d/init.d/livesys << EOF
 
 
 # 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
+cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
+[org.gnome.software]
+download-updates=false
 FOE
 
 # don't run gnome-initial-setup
diff --git a/fedora-livedvd-robotics.ks b/fedora-livedvd-robotics.ks
index 1c1f263..51a314f 100644
--- a/fedora-livedvd-robotics.ks
+++ b/fedora-livedvd-robotics.ks
@@ -103,9 +103,9 @@ disable-lock-screen=true
 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
+cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
+[org.gnome.software]
+download-updates=false
 FOE
 
 # make the installer show up


More information about the spins mailing list