summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2012-06-03 14:33:23 +0100
committerRichard Hughes <richard@hughsie.com>2012-06-03 14:40:31 +0100
commit4b65c9ac4a33eb20e451c996aab64c65789307a9 (patch)
tree192bb2b63aa5d5de6defc92ae6f5365729ac628b
parent29a42093f8a5b49b1e8d18884783c997378ac1ea (diff)
downloadgnome-settings-daemon-4b65c9ac4a33eb20e451c996aab64c65789307a9.tar.gz
updates: Automatically download updates rather than installing them
This is described in https://live.gnome.org/GnomeOS/Design/Whiteboards/SoftwareUpdates with the iplementation described in http://freedesktop.org/wiki/Software/systemd/OSUpgrade Note: This requires PackageKit 0.8.1 to work correctly.
-rw-r--r--plugins/updates/gsd-updates-manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index 960e4909..c529d89b 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -1346,6 +1346,9 @@ gsd_updates_manager_start (GsdUpdatesManager *manager,
g_object_set (manager->priv->task,
"background", TRUE,
"interactive", FALSE,
+#if PK_CHECK_VERSION(0,1,8)
+ "only-prepare", TRUE,
+#endif
NULL);
/* watch UDev for missing firmware */