[gnome-settings-daemon] updates: Automatically download updates rather than installing them
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] updates: Automatically download updates rather than installing them
- Date: Sun, 3 Jun 2012 13:42:15 +0000 (UTC)
commit 4b65c9ac4a33eb20e451c996aab64c65789307a9
Author: Richard Hughes <richard hughsie com>
Date: Sun Jun 3 14:33:23 2012 +0100
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.
plugins/updates/gsd-updates-manager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index 960e490..c529d89 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]