[node-patches] Change in ovirt-node-iso[master]: Makefile.am: Make env var OVIRT_REPO_URL work again

dougsland at redhat.com dougsland at redhat.com
Tue Jan 20 20:03:09 UTC 2015


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: Makefile.am: Make env var OVIRT_REPO_URL work again
......................................................................

Makefile.am: Make env var OVIRT_REPO_URL work again

Commit 7323c8d has removed the option to use OVIRT_REPO_URL with autogen/make.
This patch re-adds such feature.

Example:
$ ./autogen
$ make OVIRT_REPO_URL="http://127.0.0.1/repo1 http://127.0.0.1/repo2"

Change-Id: Id58ec2464149224ad38270af7a5435f16e02b9ff
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M Makefile.am
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-iso refs/changes/43/37143/1

diff --git a/Makefile.am b/Makefile.am
index 341de44..98d92ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -108,6 +108,12 @@
             printf "$${EDORA_REPO_LOC}" >> repos.ks ;\
             printf "$${UPDATE_REPO_LINE}" >> repos.ks ;\
             printf "$${VIRT_PREVIEW_LINE}" >> repos.ks ;\
+      else \
+            echo "# OVIRT_REPO_URL=$(OVIRT_REPO_URL)" > $@ ;\
+            for repo in $(OVIRT_REPO_URL); do \
+               echo "repo --name=repo$${i} --baseurl=$${repo}" >> $@ ;\
+               i=$${i}_ ;\
+            done ;\
       fi ;\
 	)
 


-- 
To view, visit http://gerrit.ovirt.org/37143
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id58ec2464149224ad38270af7a5435f16e02b9ff
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list