[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Ovirt-devel] [PATCH release] Update so default branch is next and added convenience target for updating RPMS



This change will come with some docs changes on ovirt.org website to reflect
the slightly different process as well as a new build of ovirt-release and
ovirt-build RPMS in the ovirt.org repos.

Signed-off-by: Perry Myers <pmyers redhat com>
---
 ovirt.mk |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ovirt.mk b/ovirt.mk
index a52239b..2141b46 100644
--- a/ovirt.mk
+++ b/ovirt.mk
@@ -3,8 +3,9 @@ OVIRT_GIT_SERVER ?= git://ovirt.org
 # For users with write access
 #OVIRT_GIT_SERVER = ssh://g-$USER ovirt org/git
 
-# Set to 'next' to get the latest (unreleased) updates
-OVIRT_BRANCH ?= master
+# Set to 'master' to get the last released version,
+# 'next' is development snapshot
+OVIRT_BRANCH ?= next
 
 SUBDIRS ?= release server node node-image appliance docs
 
@@ -69,5 +70,11 @@ rel-build: bumprelease build
 
 ver-build: bumpversion build
 
+update-host:
+	@cd $(OVIRT_CACHE_DIR)/ovirt && \
+	  sudo yum localinstall -y --nogpgcheck \
+	    ovirt-appliance-*$(shell uname -i).rpm \
+	    ovirt-build-*noarch.rpm ovirt-release-*noarch.rpm
+
 .PHONY: all build clean distclean publish $(SUBDIRS) update status \
 	bumpgit bumprelease bumpversion dev-build rel-build ver-build
-- 
1.5.5.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]