Dominique Leuenberger
dee8a83b7a
Add patches from our PK branch... fix bnc#770028 and bnc#769764 - requested for 12.2 OBS-URL: https://build.opensuse.org/request/show/128259 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/PackageKit?expand=0&rev=146
70 lines
2.0 KiB
Diff
70 lines
2.0 KiB
Diff
From 744da7ce30ec3ef1fc5e1a40a9ffab520315ab06 Mon Sep 17 00:00:00 2001
|
|
From: Vincent Untz <vuntz@opensuse.org>
|
|
Date: Tue, 26 Jul 2011 11:34:22 +0200
|
|
Subject: [PATCH 1/9] Change the configuration of the cron script to a
|
|
sysconfig-like config
|
|
|
|
---
|
|
contrib/cron/packagekit-background | 43 +++++++++++++++++++++++++++---------
|
|
1 file changed, 33 insertions(+), 10 deletions(-)
|
|
|
|
diff --git a/contrib/cron/packagekit-background b/contrib/cron/packagekit-background
|
|
index e5b5c9b..783e2df 100644
|
|
--- a/contrib/cron/packagekit-background
|
|
+++ b/contrib/cron/packagekit-background
|
|
@@ -1,18 +1,41 @@
|
|
-# should we attempt to do this? (valid: yes|no)
|
|
+## Path: System/Cron/PackageKit
|
|
+## Description: Cron job to update the system daily with PackageKit
|
|
+
|
|
+## Type: yesno
|
|
+## Default: no
|
|
+#
|
|
+# Run the cron job.
|
|
+#
|
|
ENABLED=no
|
|
|
|
-# don't install, just check (valid: yes|no)
|
|
+## Type: yesno
|
|
+## Default: no
|
|
+#
|
|
+# Check if updates are available, instead of installing.
|
|
+#
|
|
CHECK_ONLY=no
|
|
|
|
-# if MAILTO is set, the mail command is used to deliver PackageKit output
|
|
-# by default MAILTO is unset, so crond mails the output by itself
|
|
-#MAILTO=root
|
|
+## Type: string
|
|
+## Default: ""
|
|
+#
|
|
+# If MAILTO is set, the mail command is used to deliver PackageKit output.
|
|
+# By default MAILTO is unset, so crond mails the output by itself.
|
|
+#
|
|
+MAILTO=""
|
|
|
|
-# you may set SYSTEM_NAME if you want your PackageKit emails tagged
|
|
-# differently default is output of hostname command
|
|
-#SYSTEM_NAME=""
|
|
+## Type: string
|
|
+## Default: ""
|
|
+#
|
|
+# You may set SYSTEM_NAME if you want your PackageKit emails tagged differently.
|
|
+# Default is output of hostname command.
|
|
+#
|
|
+SYSTEM_NAME=""
|
|
|
|
-# update checks will sleep random time before contacting the servers to
|
|
+## Type: integer
|
|
+## Default: 3600
|
|
+#
|
|
+# Update checks will sleep random time before contacting the servers to
|
|
# avoid hammering them with thousands of request at the same time - this
|
|
-# is the maximum sleep time (in seconds) for the random wait period
|
|
+# is the maximum sleep time (in seconds) for the random wait period.
|
|
+#
|
|
SLEEP_MAX=3600
|
|
--
|
|
1.7.10.4
|
|
|