diff options
Diffstat (limited to 'recipes-sota/aktualizr')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr_git.bb | 13 | ||||
-rw-r--r-- | recipes-sota/aktualizr/files/aktualizr-secondary.service | 3 | ||||
-rw-r--r-- | recipes-sota/aktualizr/files/aktualizr.service | 3 |
3 files changed, 10 insertions, 9 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 9bcd86d..20dd423 100644 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb | |||
@@ -12,10 +12,12 @@ RDEPENDS_${PN}-host-tools = "aktualizr aktualizr-cert-provider ${@bb.utils.conta | |||
12 | 12 | ||
13 | RDEPENDS_${PN}-ptest += "bash cmake curl python3-misc python3-modules openssl-bin sqlite3 valgrind" | 13 | RDEPENDS_${PN}-ptest += "bash cmake curl python3-misc python3-modules openssl-bin sqlite3 valgrind" |
14 | 14 | ||
15 | PRIVATE_LIBS_${PN}-ptest = "libaktualizr.so libaktualizr_secondary.so" | ||
16 | |||
15 | PV = "1.0+git${SRCPV}" | 17 | PV = "1.0+git${SRCPV}" |
16 | PR = "7" | 18 | PR = "7" |
17 | 19 | ||
18 | GARAGE_SIGN_PV = "0.7.0-70-g3adf982" | 20 | GARAGE_SIGN_PV = "0.7.0-87-g905dc3c" |
19 | 21 | ||
20 | SRC_URI = " \ | 22 | SRC_URI = " \ |
21 | gitsm://github.com/advancedtelematic/aktualizr;branch=${BRANCH};name=aktualizr \ | 23 | gitsm://github.com/advancedtelematic/aktualizr;branch=${BRANCH};name=aktualizr \ |
@@ -27,10 +29,10 @@ SRC_URI = " \ | |||
27 | ${@ d.expand("https://ats-tuf-cli-releases.s3-eu-central-1.amazonaws.com/cli-${GARAGE_SIGN_PV}.tgz;unpack=0;name=garagesign") if d.getVar('GARAGE_SIGN_AUTOVERSION') != '1' else ''} \ | 29 | ${@ d.expand("https://ats-tuf-cli-releases.s3-eu-central-1.amazonaws.com/cli-${GARAGE_SIGN_PV}.tgz;unpack=0;name=garagesign") if d.getVar('GARAGE_SIGN_AUTOVERSION') != '1' else ''} \ |
28 | " | 30 | " |
29 | 31 | ||
30 | SRC_URI[garagesign.md5sum] = "7c4cbeacefd97eae69104d29cf5ff37a" | 32 | SRC_URI[garagesign.md5sum] = "064b408c60676dcf282aa9209bff7dac" |
31 | SRC_URI[garagesign.sha256sum] = "e9a9b68eaa1ce4104eb2ab7f1f59d99742d50805e93216fb5b21d1f212aa3d82" | 33 | SRC_URI[garagesign.sha256sum] = "75c9b3cf24eb31dacb127d3b3d073359082e2b4ee4eeb27d75e792664800ba82" |
32 | 34 | ||
33 | SRCREV = "9f2cc5d7b026eb1a1404f0c77ef6cb9377245423" | 35 | SRCREV = "f90e8996e826d130976a7b7f1835947b7e631025" |
34 | BRANCH ?= "master" | 36 | BRANCH ?= "master" |
35 | 37 | ||
36 | S = "${WORKDIR}/git" | 38 | S = "${WORKDIR}/git" |
@@ -86,9 +88,6 @@ do_install_ptest() { | |||
86 | cp -r ${B}/ ${D}/${PTEST_PATH}/build | 88 | cp -r ${B}/ ${D}/${PTEST_PATH}/build |
87 | cp -r ${S}/ ${D}/${PTEST_PATH}/src | 89 | cp -r ${S}/ ${D}/${PTEST_PATH}/src |
88 | 90 | ||
89 | # remove huge external unused repository | ||
90 | rm -rf ${D}/${PTEST_PATH}/src/partial/extern/RIOT | ||
91 | |||
92 | # remove huge build artifacts | 91 | # remove huge build artifacts |
93 | find ${D}/${PTEST_PATH}/build/src -name "*.a" -delete | 92 | find ${D}/${PTEST_PATH}/build/src -name "*.a" -delete |
94 | 93 | ||
diff --git a/recipes-sota/aktualizr/files/aktualizr-secondary.service b/recipes-sota/aktualizr/files/aktualizr-secondary.service index b577ae8..fb610f9 100644 --- a/recipes-sota/aktualizr/files/aktualizr-secondary.service +++ b/recipes-sota/aktualizr/files/aktualizr-secondary.service | |||
@@ -1,6 +1,7 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Aktualizr SOTA Client (UPTANE Secondary) | 2 | Description=Aktualizr SOTA Client (UPTANE Secondary) |
3 | After=network.target | 3 | After=network-online.target |
4 | Wants=network-online.target | ||
4 | 5 | ||
5 | [Service] | 6 | [Service] |
6 | RestartSec=10 | 7 | RestartSec=10 |
diff --git a/recipes-sota/aktualizr/files/aktualizr.service b/recipes-sota/aktualizr/files/aktualizr.service index b6f0980..3d807a1 100644 --- a/recipes-sota/aktualizr/files/aktualizr.service +++ b/recipes-sota/aktualizr/files/aktualizr.service | |||
@@ -1,6 +1,7 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Aktualizr SOTA Client | 2 | Description=Aktualizr SOTA Client |
3 | After=network.target nss-lookup.target | 3 | After=network-online.target nss-lookup.target |
4 | Wants=network-online.target | ||
4 | 5 | ||
5 | [Service] | 6 | [Service] |
6 | RestartSec=10 | 7 | RestartSec=10 |