build.sh: generate tarballs from git repositories

This is needed when you use a PREMIRROR (as we usually do in buildserver
builds). Otherwise there is a strange corner case where the do_fetch
task fails when the upstream git repo has been rebased and the old mirror
tarball does not have the new SHA1 revision.

ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/matchbox-window-manager'. Unable to fetch URL from any source.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2015-11-10 13:47:45 +01:00
parent 000ad17184
commit 16b2740fd5
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ DIGI_PREMIRROR_CFG="
# Use internal mirror
SOURCE_MIRROR_URL ?= \"http://build-linux.digi.com/yocto/downloads/\"
INHERIT += \"own-mirrors\"
BB_GENERATE_MIRROR_TARBALLS = \"1\"
"
RM_WORK_CFG="