[node-patches] Change in ovirt-node-iso[master]: Fixing the ovirt repos in fedora20 based build

tlitovsk at redhat.com tlitovsk at redhat.com
Thu Jan 22 12:38:17 UTC 2015


Anatoly Litovsky has uploaded a new change for review.

Change subject: Fixing the ovirt repos in fedora20 based build
......................................................................

Fixing the ovirt repos in fedora20 based build

The repos file was not recreated.
Alligned if to look better.
Removed some unused variables.

Change-Id: Id9a138ec1362c383503fac7d6a851cc365e5538c
Signed-off-by: Tolik Litovsky <tlitovsk at redhat.com>
---
M Makefile.am
1 file changed, 6 insertions(+), 7 deletions(-)


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

diff --git a/Makefile.am b/Makefile.am
index a4d5f80..23dfc2a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -101,13 +101,12 @@
         printf "$${OVIRT_REPO_LINE}" >> repos.ks ;\
         printf "$${GLUSTER_REPO_LINE}" >> repos.ks ;\
       elif [ -n "$(FEDORA)" ]; then \
-            OVIRT_REPO_LINE="repo --name=ovirt-stable-repo --baseurl=$(OVIRT_BASE_URL)/fc/$(FEDORA)\n" ;\
-            FEDORA_REPO=f$(FEDORA) ;\
-            EDORA_REPO_LOC="repo --name=$${FEDORA_REPO} --mirrorlist=$(FEDORA_MIRROR)?repo=fedora-$(FEDORA)&arch=$(ARCH)" ;\
-            UPDATE_REPO_LINE="repo --name=$${FEDORA_REPO}-updates --mirrorlist=$(FEDORA_MIRROR)?repo=updates-released-f$(FEDORA)&arch=$(ARCH)\n" ;\
-            printf "$${EDORA_REPO_LOC}" >> repos.ks ;\
-            printf "$${UPDATE_REPO_LINE}" >> repos.ks ;\
-            printf "$${VIRT_PREVIEW_LINE}" >> repos.ks ;\
+        OVIRT_REPO_LINE="repo --name=ovirt-stable-repo --baseurl=$(OVIRT_BASE_URL)/fc$(FEDORA)\n" ;\
+        FEDORA_REPO_LOC="repo --name=$${FEDORA_REPO} --mirrorlist=$(FEDORA_MIRROR)?repo=fedora-$(FEDORA)&arch=$(ARCH)\n" ;\
+        UPDATE_REPO_LINE="repo --name=$${FEDORA_REPO}-updates --mirrorlist=$(FEDORA_MIRROR)?repo=updates-released-f$(FEDORA)&arch=$(ARCH)\n" ;\
+        printf "$${OVIRT_REPO_LINE}" > repos.ks ;\
+        printf "$${FEDORA_REPO_LOC}" >> repos.ks ;\
+        printf "$${UPDATE_REPO_LINE}" >> repos.ks ;\
       fi ;\
 	)
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id9a138ec1362c383503fac7d6a851cc365e5538c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: master
Gerrit-Owner: Anatoly Litovsky <tlitovsk at redhat.com>



More information about the node-patches mailing list