[node-patches] Change in ovirt-node-iso[master]: build: Only add stable repo if BUILD_TYPE=STABLE
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Wed May 15 11:18:47 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: build: Only add stable repo if BUILD_TYPE=STABLE
......................................................................
build: Only add stable repo if BUILD_TYPE=STABLE
This is mainly to only look fo rthe stable rpm path when there really
was a stable release, otherwise th ebuild fail (during the beta pahse)
because there isn't yet a stable repo.
Change-Id: Ifdce433c7da926dac0b494e6fc6416b7455f2e30
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M Makefile.am
1 file changed, 5 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node-iso refs/changes/42/14742/1
diff --git a/Makefile.am b/Makefile.am
index 45635f7..2144278 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -118,12 +118,13 @@
fi ;\
echo "repo --name=$${FEDORA_REPO} $${FEDORA_REPO_LOC}" > repos.ks ;\
printf "$${UPDATE_REPO_LINE}" >> repos.ks ;\
- printf "$${OVIRT_STABLE_REPO_LINE}" >> repos.ks ;\
- if [ "$${BUILD_TYPE}" == "NIGHTLY" ]; then \
- printf "$${OVIRT_NIGHTLY_REPO_LINE}" >> repos.ks ;\
- printf "$${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
+ if [ "$${BUILD_TYPE}" == "STABLE" ]; then \
+ printf "$${OVIRT_STABLE_REPO_LINE}" >> repos.ks ;\
elif [ "$${BUILD_TYPE}" == "BETA" ]; then \
printf "$${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
+ elif [ "$${BUILD_TYPE}" == "NIGHTLY" ]; then \
+ printf "$${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
+ printf "$${OVIRT_NIGHTLY_REPO_LINE}" >> repos.ks ;\
fi ;\
else \
echo "# OVIRT_REPO_URL=$(OVIRT_REPO_URL)" > $@ ;\
--
To view, visit http://gerrit.ovirt.org/14742
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifdce433c7da926dac0b494e6fc6416b7455f2e30
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list