Special case meta-renesas-rcar-gen3 as branches are not aligned 97/10397/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 26 Jul 2017 11:56:15 +0000 (13:56 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 26 Jul 2017 11:56:15 +0000 (13:56 +0200)
Change-Id: I6c4d7192c0b121beb50e777e49ecec9193361596
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/common/include-agl-repo.sh

index fee5213..1d27c71 100644 (file)
@@ -19,7 +19,11 @@ cd repoclone
 export REPODIR=`pwd`
 
 if test x"" = x"${RELEASE_VERSION}" -a x"" = x"${RELEASE_BRANCH}" ; then
-  repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
+  if test x"meta-renesas-rcar-gen3" = x"${TARGETPROJECT}" ; then
+    repo init --reference=/opt/AGL/preclone -q -b master -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
+  else
+    repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
+  fi
 else
   repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -m ${RELEASE_BRANCH}_${RELEASE_VERSION}.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
 fi