Fabian Deutsch has uploaded a new change for review.

Change subject: Include dist in isoname
......................................................................

Include dist in isoname

Change-Id: I5c15f62d12c2c33e3579f831255617e0eac95585
Signed-off-by: Fabian Deutsch <[email protected]>
---
M Makefile.am
1 file changed, 2 insertions(+), 1 deletion(-)


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

diff --git a/Makefile.am b/Makefile.am
index f38e7ec..88eca2e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,6 +29,7 @@
 CENTOS           = @CENTOS@
 ARCH             = $(shell rpm --eval '%{_arch}')
 RELEASE         := $(shell date +%Y%m%d).0
+DIST            := $(shell rpm -E "%{dist}")
 RECIPE_DIR       = @RECIPES@
 OVIRT_CACHE_DIR        ?= $(HOME)/ovirt-cache
 
@@ -179,7 +180,7 @@
        @test ! -e "$(PACKAGE_NAME)-$(VERSION)-$(RELEASE).iso" || ( echo 
"ERROR: $(PACKAGE_NAME)-$(VERSION)-$(RELEASE).iso already exists." && exit 1 )
        $(NODE_CREATOR) $(RECIPE)
        @test -e "$(PACKAGE_NAME).iso" || ( echo "ERROR: ISO build failed." && 
exit 1 )
-       mv $(PACKAGE_NAME).iso $(PACKAGE_NAME)-$(VERSION)-$(RELEASE).iso
+       mv $(PACKAGE_NAME).iso $(PACKAGE_NAME)-$(VERSION)-$(RELEASE)$(DIST).iso
 
 verrel:
        @echo ${PACKAGE_NAME}-${VERSION}-${RELEASE}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5c15f62d12c2c33e3579f831255617e0eac95585
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to