mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-04-02 02:49:12 +00:00
yocto-builer: fetch corresponding branch for bitbake
Use 2.16 branch for whinlatter. This is just temporary work around to unblock first whinlatter PR: https://github.com/agherzan/meta-raspberrypi/pull/1586 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
This commit is contained in:
parent
34083218d0
commit
469e232c77
@ -29,8 +29,10 @@ REPOS=" \
|
|||||||
git://git.yoctoproject.org/meta-yocto \
|
git://git.yoctoproject.org/meta-yocto \
|
||||||
"
|
"
|
||||||
for repo in $REPOS; do
|
for repo in $REPOS; do
|
||||||
log "Cloning $repo on branch $BASE_REF..."
|
BRANCH="$BASE_REF"
|
||||||
git clone --depth 1 --branch "$BASE_REF" "$repo"
|
[ "$repo" = "git://git.openembedded.org/bitbake" -a "$BASE_REF" = "whinlatter" ] && BRANCH=2.16
|
||||||
|
log "Cloning $repo on branch $BRANCH..."
|
||||||
|
git clone --depth 1 --branch "$BRANCH" "$repo"
|
||||||
done
|
done
|
||||||
|
|
||||||
# shellcheck disable=SC1091,SC2240
|
# shellcheck disable=SC1091,SC2240
|
||||||
|
|||||||
@ -24,8 +24,10 @@ REPOS=" \
|
|||||||
git://git.openembedded.org/bitbake \
|
git://git.openembedded.org/bitbake \
|
||||||
"
|
"
|
||||||
for repo in $REPOS; do
|
for repo in $REPOS; do
|
||||||
log "Cloning $repo on branch $BASE_REF..."
|
BRANCH="$BASE_REF"
|
||||||
git clone --depth 1 --branch "$BASE_REF" "$repo"
|
[ "$repo" = "git://git.openembedded.org/bitbake" -a "$BASE_REF" = "whinlatter" ] && BRANCH=2.16
|
||||||
|
log "Cloning $repo on branch $BRANCH..."
|
||||||
|
git clone --depth 1 --branch "$BRANCH" "$repo"
|
||||||
done
|
done
|
||||||
|
|
||||||
# shellcheck disable=SC1091,SC2240
|
# shellcheck disable=SC1091,SC2240
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user