We get to a point where we have board differences between releases also
in releng-scripts.
This patch adapt ci-management to clone the $AGLBRANCH instead of just 'release'.
Bug-AGL: SPEC-2978
Change-Id: I759a857655200f4a8ca833173557219f8a0282ca
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
# clone repo for templates and related utils, add to $PATH for later use
if [ ! -e releng-scripts ]; then
- git clone --branch release https://git.automotivelinux.org/AGL/releng-scripts
+ git clone --branch $AGLBRANCH https://git.automotivelinux.org/AGL/releng-scripts
else
- (cd releng-scripts; git remote update; git checkout -f origin/release)
+ (cd releng-scripts; git remote update; git checkout -f origin/$AGLBRANCH)
fi
if [ -e releng-scripts/utils ]; then