[Ovirt-devel] [PATCH] Disables virt-preview and add ovirt.org yum repo.

Mike Burns mburns at redhat.com
Wed Mar 24 14:45:01 UTC 2010


On Wed, 2010-03-24 at 10:38 -0400, Mike Burns wrote:
> On Wed, 2010-03-24 at 10:29 -0400, Darryl L. Pierce wrote:
> > Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
> > ---
> >  recipe/Makefile.am |    4 +++-
> >  1 files changed, 3 insertions(+), 1 deletions(-)
> > 
> > diff --git a/recipe/Makefile.am b/recipe/Makefile.am
> > index 0bd139f..6c97ed0 100644
> > --- a/recipe/Makefile.am
> > +++ b/recipe/Makefile.am
> > @@ -3,6 +3,7 @@ CUR_RAWHIDE       = 14
> >  CUR_DEVEL         = 13
> >  CUR_PREVIEW       = 12
> >  PREVIEW_URL      ?= http://jforbes.fedorapeople.org/virt-preview/f$(CUR_PREVIEW)/$(ARCH)
> > +OVIRT_REPO_URL    = http://ovirt.org/repos/ovirt/$(CUR_PREVIEW)/$(ARCH)
Change to:
+OVIRT_REPO_URL = http://ovirt.org/repos/ovirt/$(FEDORA)/$(ARCH)

> >  
> >  FEDORA            = $(shell rpm --eval '%{fedora}')
> >  ARCH              = $(shell rpm --eval '%{_arch}')
> > @@ -36,10 +37,11 @@ repos.ks:
> >  	        FEDORA_REPO=f$(FEDORA) ;\
> >  	        FEDORA_REPO_LOC="$(if $(FEDORA_URL),--baseurl=$(FEDORA_URL)/releases/$(FEDORA)/Everything/${ARCH}/os,--mirrorlist=$(FEDORA_MIRROR)?repo=fedora-$(FEDORA)&arch=$(ARCH))" ;\
> >  	        UPDATE_REPO_LINE="repo --name=$${FEDORA_REPO}-updates $(if $(FEDORA_URL),--baseurl=$(FEDORA_URL)/updates/$(FEDORA)/${ARCH},--mirrorlist=$(FEDORA_MIRROR)?repo=updates-released-f$(FEDORA)&arch=$(ARCH))\n" ;\
> > -	        if [ 0$(FEDORA) == 0$(CUR_PREVIEW) ]; then \
> > +	        if [ 0$(FEDORA)remove == 0$(CUR_PREVIEW)me ]; then \
> >  	            UPDATE_REPO_LINE="$${UPDATE_REPO_LINE}repo --name=preview --baseurl=$(PREVIEW_URL)\n" ;\
> >  	        fi ;\
> >  	    fi ;\
> > +	    UPDATE_REPO_LINE="$${UPDATE_REPO_LINE}repo --name=ovirt --baseurl=$(OVIRT_REPO_URL)\n" ;\
> >  	    echo "repo --name=$${FEDORA_REPO} $${FEDORA_REPO_LOC}" > repos.ks ;\
> >  	    printf "$${UPDATE_REPO_LINE}" >> repos.ks ;\
> >  	)
> 
> Ack

Will push with small changed discussed on IRC.  

> 
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel





More information about the ovirt-devel mailing list