aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_repos/Makefile
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-11-29 17:30:18 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-11-29 17:35:50 +0100
commite5632e76af93e02dc3221581e41741ccb36d248a (patch)
treee2120b720a4cbf7baf17f675dddda0dccbc13c56 /build/f_repos/Makefile
parent367bc372ae77a2b6681d807865250415abe9a94c (diff)
build/f_repos: Fix remote tracking, pin N HEADs
Fix two issues that went undetected until now: - remote tracking variable does not properly evaluate in CI, since there is no HEAD reference; - git submodules references still point to master branch(es) commits, although .gitmodules configure the remote tracked branch correctly; JIRA: FUEL-234 Change-Id: I96dc704e2cfe98f2e93d5fa7d7dd261e7f151238 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'build/f_repos/Makefile')
-rw-r--r--build/f_repos/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/f_repos/Makefile b/build/f_repos/Makefile
index b5eafff9b..be6f82909 100644
--- a/build/f_repos/Makefile
+++ b/build/f_repos/Makefile
@@ -34,8 +34,7 @@ include ../config.mk
# To enable remote tracking, set the following var to any non-empty string.
# Leaving this var empty will bind each git submodule to its saved commit.
-# NOTE: For non-stable branches, unless overriden, always track remotes
-FUEL_TRACK_REMOTES ?= $(shell git symbolic-ref --short HEAD | grep -v stable)
+FUEL_TRACK_REMOTES ?= yes
.PHONY: all
all: release