[yum-commits] 2 commits - etc/yum-cron.conf etc/yum-cron-hourly.conf Makefile yum-cron/Makefile
zpavlas at osuosl.org
zpavlas at osuosl.org
Tue Jan 14 15:01:38 UTC 2014
Makefile | 2 +-
etc/yum-cron-hourly.conf | 2 +-
etc/yum-cron.conf | 2 +-
yum-cron/Makefile | 4 ----
4 files changed, 3 insertions(+), 7 deletions(-)
New commits:
commit 0ee586feee8ff05c3a2e692eca6476dc1d1aaad5
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Mon Jan 13 16:16:39 2014 +0100
build: use UNITDIR and INIT from yum.spec
diff --git a/Makefile b/Makefile
index f203c4d..9389aa8 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ install:
mkdir -p $(DESTDIR)/var/cache/yum
mkdir -p $(DESTDIR)/var/lib/yum
- for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
+ for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR); pwd` UNITDIR=$(UNITDIR) INIT=$(INIT) -C $$d install; [ $$? = 0 ] || exit 1; done
apidocs:
make -C docs/sphinxdocs html
diff --git a/yum-cron/Makefile b/yum-cron/Makefile
index 875d3d7..cd3ff5f 100644
--- a/yum-cron/Makefile
+++ b/yum-cron/Makefile
@@ -1,7 +1,3 @@
-UNITDIR=/lib/systemd/system
-
-INIT=systemd
-
all:
echo "Nothing to do"
commit 6ddb350b207cfa54d96232c23606444cd0b79341
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Mon Jan 13 16:12:33 2014 +0100
yum-cron: Enable random_sleep by default.
diff --git a/etc/yum-cron-hourly.conf b/etc/yum-cron-hourly.conf
index 2d52349..7871a46 100644
--- a/etc/yum-cron-hourly.conf
+++ b/etc/yum-cron-hourly.conf
@@ -25,7 +25,7 @@ apply_updates = no
# minutes before running. This is useful for e.g. staggering the
# times that multiple systems will access update servers. If
# random_sleep is 0 or negative, the program will run immediately.
-random_sleep = 0
+random_sleep = 15
[emitters]
diff --git a/etc/yum-cron.conf b/etc/yum-cron.conf
index a97d881..f8de068 100644
--- a/etc/yum-cron.conf
+++ b/etc/yum-cron.conf
@@ -24,7 +24,7 @@ apply_updates = no
# minutes before running. This is useful for e.g. staggering the
# times that multiple systems will access update servers. If
# random_sleep is 0 or negative, the program will run immediately.
-random_sleep = 0
+random_sleep = 6*60
[emitters]
More information about the Yum-commits
mailing list