Makefile: Trim OPNFV_PRODNO to fit in ISO volid 43/17443/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 22 Jul 2016 18:45:57 +0000 (20:45 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 22 Jul 2016 18:51:04 +0000 (18:51 +0000)
genisoimage has a limit of 32 chars for volume ID, which was
reached during Jenkins builds (which sets REVSTATE to a datestring),
but not while building outside Jenkins (in which case REVSTATE was
simply set to "P000"), hence the recent broken builds despite
manully testing the changes beforehand.

Shorten the product name (PRODNO var), and revert git SHA to full
format, as that was not the culprit.

Related-bug: ARMBAND-53

Change-Id: I0a530982893af1b6a0243b55f6b1d2eea66ac5bf
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Makefile

index b572367..922b72e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,8 +64,8 @@ build:
                make \
                        BUILD_FUEL_PLUGINS="f_odlpluginbuild f_bgpvpn-pluginbuild" \
                        UBUNTU_ARCH="amd64 arm64" \
-                       PRODNO="OPNFV_ARMBAND_FUEL" \
-                       OPNFV_GIT_SHA=$(shell git rev-parse --short HEAD) \
+                       PRODNO="OPNFV_A_FUEL" \
+                       OPNFV_GIT_SHA=$(shell git rev-parse HEAD) \
                        ASTUTE_REPO=${root}/upstream/fuel-astute \
                        ASTUTE_COMMIT=HEAD \
                        NAILGUN_REPO=${root}/upstream/fuel-web \