[Ovirt-devel] [PATCH release] ensure ovirt-local yum metadata is not cached

Alan Pevec apevec at redhat.com
Tue Mar 3 17:18:02 UTC 2009


set it to expire immediately (1s)
default metadata_expire is 1.5h
---
 ovirt.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ovirt.mk b/ovirt.mk
index cc10bd7..2e7b40c 100644
--- a/ovirt.mk
+++ b/ovirt.mk
@@ -58,6 +58,7 @@ define write_repo_file
   echo "name=ovirt-local" ;	\
   echo "baseurl=file://$(OVIRT_CACHE_DIR)/ovirt" ;	\
   echo "enabled=1" ;	\
+  echo "metadata_expire=1" ;	\
   echo "gpgcheck=0") > $(OVIRT_CACHE_DIR)/ovirt-local.repo
 endef
 
-- 
1.6.0.6




More information about the ovirt-devel mailing list