diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-10-10 11:11:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-10 11:11:01 +0000 |
commit | db02e069cc213fc63994331bfb6191f517b699ca (patch) | |
tree | 3f69ee7d275f12e01d0709d16deeab7a679b3346 /build/Makefile | |
parent | 6b87729e4b16975138d67ec01a0aa6b925a06245 (diff) | |
parent | 94ea115c36d5f5c79823692ac80626cf8959b35d (diff) |
Merge "build: Use OPNFV_GIT_SHA for ISO preparer ID"
Diffstat (limited to 'build/Makefile')
-rw-r--r-- | build/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/Makefile b/build/Makefile index 56acb40fe..ac854986c 100644 --- a/build/Makefile +++ b/build/Makefile @@ -21,11 +21,11 @@ SHELL = /bin/bash export MOSVERSION = 9.0 export ISOSRC = file:$(shell pwd)/fuel-$(MOSVERSION).iso export ISOCACHE = $(shell pwd)/$(shell basename $(ISOSRC)) -export PRODNO = "OPNFV_FUEL" +export PRODNO ?= "OPNFV_FUEL" export REVSTATE = "P0000" export USER ?= $(shell whoami) export BUILD_DATE = $(shell date --utc +%Y-%m-%d:%H:%M) -export OPNFV_GIT_SHA = $(shell git rev-parse HEAD) +export OPNFV_GIT_SHA ?= $(shell git rev-parse HEAD) # Store in /etc/fuel_build_id on fuel master export BUILD_ID := $(PRODNO)_$(BUILD_DATE)_$(OPNFV_GIT_SHA) |