summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2014-06-25 12:38:37 +0300
committerSamuli Piippo <samuli.piippo@digia.com>2014-06-25 16:22:16 +0300
commit905a9cea99c050eef1d1c8189dcf8783dcf72443 (patch)
tree260a33a5b36885a9b70cb26fac4a54dbbb13d56c
parentb7ab4499e4daf15d3cc06e6c3032cc010c7c48aa (diff)
downloadmeta-boot2qt-905a9cea99c050eef1d1c8189dcf8783dcf72443.tar.gz
Use specific SHA1 from all of the meta repos
Updates on the upstream meta repos can break b2qt-meta repo at anytime. When checking out meta repos, use the same version from which the released images were build. Change-Id: I669093747e79841148617e69aeb6dfea9b908b40 Reviewed-by: Kalle Viironen <kalle.viironen@digia.com> Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
-rw-r--r--README16
-rwxr-xr-xb2qt-init-build-env51
2 files changed, 33 insertions, 34 deletions
diff --git a/README b/README
index 0134574..b3b55a4 100644
--- a/README
+++ b/README
@@ -28,31 +28,31 @@ OpenEmbedded and Yocto.
28 28
29This layer depends on: 29This layer depends on:
30 30
31URI: git://git.openembedded.org/openembedded-core 31URI: git://git.yoctoproject.org/poky
32branch: daisy 32branch: daisy
33revision: HEAD 33revision: b0ce70ffa820c8b4069bdb413f7aa9db668b9428
34 34
35URI: git://git.openembedded.org/meta-openembedded 35URI: git://git.openembedded.org/meta-openembedded
36layer: meta-oe 36layer: meta-oe
37branch: daisy 37branch: daisy
38revision: HEAD 38revision: a6dcf6265822ca1484d991d10a3042e04a960cdb
39 39
40URI: git://git.yoctoproject.org/meta-ti 40URI: git://git.yoctoproject.org/meta-ti
41branch: daisy 41branch: daisy
42revision: HEAD 42revision: 5dad1bc02dd922a6c4fa4d68f6ea9ec779cf5e66
43 43
44URI: git://git.yoctoproject.org/meta-fsl-arm 44URI: git://git.yoctoproject.org/meta-fsl-arm
45branch: daisy 45branch: daisy
46revision: HEAD 46revision: f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b
47 47
48URI: git://github.com/Freescale/meta-fsl-arm-extra 48URI: git://github.com/Freescale/meta-fsl-arm-extra
49branch: daisy 49branch: daisy
50revision: HEAD 50revision: 029f535cfbc5746288c6129babb2d7679927a183
51 51
52URI: git://git.yoctoproject.org/meta-raspberrypi 52URI: git://git.yoctoproject.org/meta-raspberrypi
53branch: daisy 53branch: daisy
54revision: HEAD 54revision: cc74bf6c1f9ab9beea52c4c75797f3ad51f72c55
55 55
56URI: git://git.toradex.com/meta-toradex.git 56URI: git://git.toradex.com/meta-toradex.git
57branch: V2.2 57branch: V2.2
58revision: HEAD 58revision: 371ea626f29a2a12294ab6ea30e36743a9e2f78f
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index 882e7fa..bc747b8 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -33,33 +33,32 @@ mkdir -p ${1}
33DIR=$(readlink -f $(dirname $0)) 33DIR=$(readlink -f $(dirname $0))
34BUILDDIR=$(readlink -f $1) 34BUILDDIR=$(readlink -f $1)
35 35
36if [ ! -d ${BUILDDIR}/poky ]; then 36checkout() {
37 git clone git://git.yoctoproject.org/poky ${BUILDDIR}/poky -b daisy 37 REPO=$1
38fi 38 REPODIR=${REPO##*/}
39 39 if [ ${REPODIR} != "poky" ]; then
40if [ ! -d ${BUILDDIR}/poky/meta-openembedded ]; then 40 REPODIR="poky/${REPODIR}"
41 git clone git://git.openembedded.org/meta-openembedded ${BUILDDIR}/poky/meta-openembedded -b daisy 41 fi
42fi 42 REF=${2%%:*}
43 43 SHA1=${2##*:}
44if [ ! -d ${BUILDDIR}/poky/meta-ti ]; then 44 if [ ! -d ${BUILDDIR}/${REPODIR} ]; then
45 git clone git://git.yoctoproject.org/meta-ti ${BUILDDIR}/poky/meta-ti -b daisy 45 mkdir ${BUILDDIR}/${REPODIR}
46fi 46 cd ${BUILDDIR}/${REPODIR}
47 47 git init
48if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm ]; then 48 git remote add origin ${REPO} -f
49 git clone git://git.yoctoproject.org/meta-fsl-arm ${BUILDDIR}/poky/meta-fsl-arm -b daisy 49 git checkout ${REF}
50fi 50 git reset --hard ${SHA1}
51 51 cd -
52if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm-extra ]; then 52 fi
53 git clone git://github.com/Freescale/meta-fsl-arm-extra.git ${BUILDDIR}/poky/meta-fsl-arm-extra -b daisy 53}
54fi
55 54
56if [ ! -d ${BUILDDIR}/poky/meta-raspberrypi ]; then 55checkout git://git.yoctoproject.org/poky "daisy:b0ce70ffa820c8b4069bdb413f7aa9db668b9428"
57 git clone git://git.yoctoproject.org/meta-raspberrypi ${BUILDDIR}/poky/meta-raspberrypi -b daisy 56checkout git://git.openembedded.org/meta-openembedded "daisy:a6dcf6265822ca1484d991d10a3042e04a960cdb"
58fi 57checkout git://git.yoctoproject.org/meta-ti "daisy:5dad1bc02dd922a6c4fa4d68f6ea9ec779cf5e66"
59 58checkout git://git.yoctoproject.org/meta-fsl-arm "daisy:f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b"
60if [ ! -d ${BUILDDIR}/poky/meta-toradex ]; then 59checkout git://github.com/Freescale/meta-fsl-arm-extra "daisy:029f535cfbc5746288c6129babb2d7679927a183"
61 git clone git://git.toradex.com/meta-toradex.git ${BUILDDIR}/poky/meta-toradex -b V2.2 60checkout git://git.yoctoproject.org/meta-raspberrypi "daisy:cc74bf6c1f9ab9beea52c4c75797f3ad51f72c55"
62fi 61checkout git://git.toradex.com/meta-toradex "V2.2:371ea626f29a2a12294ab6ea30e36743a9e2f78f"
63 62
64if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then 63if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then
65 ln -s ${DIR} ${BUILDDIR}/poky/meta-b2qt 64 ln -s ${DIR} ${BUILDDIR}/poky/meta-b2qt