diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/manifest.xml | 47 | ||||
-rwxr-xr-x | scripts/setup-environment.sh | 6 | ||||
-rwxr-xr-x | scripts/sstate-cache-cleanup.sh | 56 | ||||
-rwxr-xr-x | scripts/upload.sh | 2 |
4 files changed, 81 insertions, 30 deletions
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index c157743..644971e 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
@@ -11,55 +11,56 @@ | |||
11 | <remote fetch="ssh://codereview.qt-project.org/yocto" name="gerrit"/> | 11 | <remote fetch="ssh://codereview.qt-project.org/yocto" name="gerrit"/> |
12 | <remote fetch="git://git.yoctoproject.org" name="intel"/> | 12 | <remote fetch="git://git.yoctoproject.org" name="intel"/> |
13 | <remote fetch="git://github.com/openembedded" name="oe-mirror"/> | 13 | <remote fetch="git://github.com/openembedded" name="oe-mirror"/> |
14 | <remote fetch="git://github.com/madisongh" name="madisongh"/> | ||
14 | <remote fetch="ssh://git@git.qt.io/boot2qt" name="playground"/> | 15 | <remote fetch="ssh://git@git.qt.io/boot2qt" name="playground"/> |
15 | 16 | ||
16 | <project name="poky" | 17 | <project name="poky" |
17 | remote="yocto" | 18 | remote="yocto" |
18 | revision="fc75bea445bb57e1e942b5049ee2b6e5245649ea" | 19 | revision="b0f3c0fb99d15b5914ac876b62ff16b3e11d0b80" |
19 | path="sources/poky"/> | 20 | path="sources/poky"/> |
20 | <project name="meta-openembedded" | 21 | <project name="meta-openembedded" |
21 | remote="oe-mirror" | 22 | remote="oe-mirror" |
22 | revision="247b1267bbe95719cd4877d2d3cfbaf2a2f4865a" | 23 | revision="1efa5d623bc64659b57389e50be2568b1355d5f7" |
23 | path="sources/meta-openembedded"/> | 24 | path="sources/meta-openembedded"/> |
24 | <project name="meta-qt5" | 25 | <project name="meta-qt5" |
25 | remote="qtyocto" | 26 | remote="qtyocto" |
26 | revision="251beba0ca5f7fae85b8fd9c20851c53347c9722" | 27 | revision="912db845e563f4df34f3cf761df8c563193c5044" |
27 | path="sources/meta-qt5"/> | 28 | path="sources/meta-qt5"/> |
28 | <project name="meta-mingw" | 29 | <project name="meta-mingw" |
29 | remote="qtyocto" | 30 | remote="qtyocto" |
30 | path="sources/meta-mingw" | 31 | path="sources/meta-mingw" |
31 | revision="4a877547146f32f4540664b0c677d99b33d12bfd"/> | 32 | revision="bfda0f040958b3c533123071ff031037389eed62"/> |
32 | 33 | ||
33 | <project name="meta-fsl-arm" | 34 | <project name="meta-freescale" |
34 | remote="yocto" | 35 | remote="freescale" |
35 | revision="a6b95df4d7ab122f1e5b7632e2273b75f853af4b" | 36 | revision="ec54f623eee97b75b7ad87503477316495c7fc26" |
36 | path="sources/meta-fsl-arm" | 37 | path="sources/meta-freescale" |
37 | groups="notdefault,external,fsl,ti,smx6,renesas"/> | 38 | groups="notdefault,external,fsl,ti,smx6"/> |
38 | <project name="meta-ti" | 39 | <project name="meta-ti" |
39 | remote="yocto" | 40 | remote="yocto" |
40 | revision="f807c7185321fb407e82c529ddff310dc037f727" | 41 | revision="0862a33b8d642e5fad031a78f90410d497453415" |
41 | path="sources/meta-ti" | 42 | path="sources/meta-ti" |
42 | groups="notdefault,external,ti"/> | 43 | groups="notdefault,external,ti"/> |
43 | <project name="meta-raspberrypi" | 44 | <project name="meta-raspberrypi" |
44 | remote="yocto" | 45 | remote="yocto" |
45 | revision="2745399f75d7564fcc586d0365ff73be47849d0e" | 46 | revision="cce6292e41493158c26f5b1b7fded97faacf10d7" |
46 | path="sources/meta-raspberrypi" | 47 | path="sources/meta-raspberrypi" |
47 | groups="notdefault,external,rpi"/> | 48 | groups="notdefault,external,rpi"/> |
48 | <project name="meta-fsl-arm-extra" | 49 | <project name="meta-freescale-3rdparty" |
49 | remote="freescale" | 50 | remote="freescale" |
50 | revision="99649b72f60fda4a2cfb2333791fe0f92997fa9e" | 51 | revision="065228815a7ca5201df1ed4c030b152054a5eda3" |
51 | path="sources/meta-fsl-arm-extra" | 52 | path="sources/meta-freescale-3rdparty" |
52 | groups="notdefault,external,fsl,smx6"/> | 53 | groups="notdefault,external,fsl,smx6"/> |
53 | <project name="meta-intel" | 54 | <project name="meta-intel" |
54 | remote="intel" | 55 | remote="intel" |
55 | revision="b8c199201ffe026485a14e1fcfc398e2b3551512" | 56 | revision="6add41510412ca196efb3e4f949d403a8b6f35d7" |
56 | path="sources/meta-intel" | 57 | path="sources/meta-intel" |
57 | groups="notdefault,external,intel"/> | 58 | groups="notdefault,external,intel"/> |
58 | <project name="meta-renesas" | 59 | <project name="meta-tegra" |
59 | remote="yocto" | 60 | remote="madisongh" |
60 | revision="d20e5bffb582c6bfabdadc22e903df86c8cfd66b" | 61 | revision="fba09b70a8ac36248e5fcea611e3bb661bb089fc" |
61 | path="sources/meta-renesas" | 62 | path="sources/meta-tegra" |
62 | groups="notdefault,external,renesas"/> | 63 | groups="notdefault,external,jetson"/> |
63 | 64 | ||
64 | <project name="nvidia-layer" | 65 | <project name="nvidia-layer" |
65 | remote="playground" | 66 | remote="playground" |
@@ -76,11 +77,5 @@ | |||
76 | revision="c2f639ef4b2fd5809ab95fb330d28c2716aa290d" | 77 | revision="c2f639ef4b2fd5809ab95fb330d28c2716aa290d" |
77 | path="sources/meta-smx6" | 78 | path="sources/meta-smx6" |
78 | groups="notdefault,internal"/> | 79 | groups="notdefault,internal"/> |
79 | <project name="renesas-rcar-gen2" | ||
80 | remote="playground" | ||
81 | revision="93b2464ca1c6200a1bdf2afcabac0c2c7e9bdf6d" | ||
82 | path="sources/renesas-rcar-gen2" | ||
83 | groups="notdefault,internal"/> | ||
84 | |||
85 | </manifest> | 80 | </manifest> |
86 | 81 | ||
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index b6c4710..a556e4f 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
@@ -77,12 +77,12 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
77 | tegra-x1|tegra-t18x) | 77 | tegra-x1|tegra-t18x) |
78 | LAYERSCONF="bblayers.conf.nvidia-tegra.sample" | 78 | LAYERSCONF="bblayers.conf.nvidia-tegra.sample" |
79 | ;; | 79 | ;; |
80 | alt|gose|koelsch|lager|porter|silk|stout) | ||
81 | LAYERSCONF="bblayers.conf.rcar-gen2.sample" | ||
82 | ;; | ||
83 | emulator) | 80 | emulator) |
84 | LAYERSCONF="bblayers.conf.emulator.sample" | 81 | LAYERSCONF="bblayers.conf.emulator.sample" |
85 | ;; | 82 | ;; |
83 | jetson-tx1|jetson-tk1) | ||
84 | LAYERSCONF="bblayers.conf.jetson.sample" | ||
85 | ;; | ||
86 | *) | 86 | *) |
87 | LAYERSCONF="bblayers.conf.sample" | 87 | LAYERSCONF="bblayers.conf.sample" |
88 | echo "Unknown MACHINE, bblayers.conf might need manual editing" | 88 | echo "Unknown MACHINE, bblayers.conf might need manual editing" |
diff --git a/scripts/sstate-cache-cleanup.sh b/scripts/sstate-cache-cleanup.sh new file mode 100755 index 0000000..4eb6aff --- /dev/null +++ b/scripts/sstate-cache-cleanup.sh | |||
@@ -0,0 +1,56 @@ | |||
1 | #!/bin/bash | ||
2 | ############################################################################ | ||
3 | ## | ||
4 | ## Copyright (C) 2017 The Qt Company Ltd. | ||
5 | ## Contact: https://www.qt.io/licensing/ | ||
6 | ## | ||
7 | ## This file is part of the Boot to Qt meta layer. | ||
8 | ## | ||
9 | ## $QT_BEGIN_LICENSE:GPL$ | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at https://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## GNU General Public License Usage | ||
19 | ## Alternatively, this file may be used under the terms of the GNU | ||
20 | ## General Public License version 3 or (at your option) any later version | ||
21 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
22 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
23 | ## included in the packaging of this file. Please review the following | ||
24 | ## information to ensure the GNU General Public License requirements will | ||
25 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
26 | ## | ||
27 | ## $QT_END_LICENSE$ | ||
28 | ## | ||
29 | ############################################################################ | ||
30 | |||
31 | set -e | ||
32 | |||
33 | if [ $# -lt 1 ]; then | ||
34 | echo "Usage: $0 <sstate-cache-dir(s)>" | ||
35 | echo "Remove all old files from <sstate-cache-dir(s)>" | ||
36 | exit 1 | ||
37 | fi | ||
38 | |||
39 | DAYS_TO_KEEP=7 | ||
40 | NOW=$(date +%s) | ||
41 | |||
42 | for cachedir in $@; do | ||
43 | |||
44 | if [ ! -d $cachedir ]; then | ||
45 | echo "$cachedir: No such directory" | ||
46 | continue | ||
47 | fi | ||
48 | |||
49 | # find the most recently modified file's timestamp | ||
50 | LATEST=$(find $cachedir -type f -printf '%T@\n' | sort -n | tail -1 | cut -f 1 -d'.') | ||
51 | # calculate days | ||
52 | TIMEOUT=$(( ($NOW - $LATEST) / 3600 / 24 + $DAYS_TO_KEEP )) | ||
53 | # delete all files older | ||
54 | find ${cachedir} -type f -atime +${TIMEOUT} -delete | ||
55 | |||
56 | done | ||
diff --git a/scripts/upload.sh b/scripts/upload.sh index 14d45c8..23b3b16 100755 --- a/scripts/upload.sh +++ b/scripts/upload.sh | |||
@@ -31,7 +31,7 @@ | |||
31 | set -x | 31 | set -x |
32 | set -e | 32 | set -e |
33 | 33 | ||
34 | RELEASE=5.8 | 34 | RELEASE=5.9 |
35 | UPLOADPATH=QT@ci-files02-hki.ci.local:/srv/jenkins_data/enterprise/b2qt/yocto/${RELEASE}/ | 35 | UPLOADPATH=QT@ci-files02-hki.ci.local:/srv/jenkins_data/enterprise/b2qt/yocto/${RELEASE}/ |
36 | UPLOADS="\ | 36 | UPLOADS="\ |
37 | tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.7z \ | 37 | tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.7z \ |