summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/aktualizr')
-rw-r--r--recipes-sota/aktualizr/aktualizr_git.bb13
-rw-r--r--recipes-sota/aktualizr/files/aktualizr-secondary.service3
-rw-r--r--recipes-sota/aktualizr/files/aktualizr.service3
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
13RDEPENDS_${PN}-ptest += "bash cmake curl python3-misc python3-modules openssl-bin sqlite3 valgrind" 13RDEPENDS_${PN}-ptest += "bash cmake curl python3-misc python3-modules openssl-bin sqlite3 valgrind"
14 14
15PRIVATE_LIBS_${PN}-ptest = "libaktualizr.so libaktualizr_secondary.so"
16
15PV = "1.0+git${SRCPV}" 17PV = "1.0+git${SRCPV}"
16PR = "7" 18PR = "7"
17 19
18GARAGE_SIGN_PV = "0.7.0-70-g3adf982" 20GARAGE_SIGN_PV = "0.7.0-87-g905dc3c"
19 21
20SRC_URI = " \ 22SRC_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
30SRC_URI[garagesign.md5sum] = "7c4cbeacefd97eae69104d29cf5ff37a" 32SRC_URI[garagesign.md5sum] = "064b408c60676dcf282aa9209bff7dac"
31SRC_URI[garagesign.sha256sum] = "e9a9b68eaa1ce4104eb2ab7f1f59d99742d50805e93216fb5b21d1f212aa3d82" 33SRC_URI[garagesign.sha256sum] = "75c9b3cf24eb31dacb127d3b3d073359082e2b4ee4eeb27d75e792664800ba82"
32 34
33SRCREV = "9f2cc5d7b026eb1a1404f0c77ef6cb9377245423" 35SRCREV = "f90e8996e826d130976a7b7f1835947b7e631025"
34BRANCH ?= "master" 36BRANCH ?= "master"
35 37
36S = "${WORKDIR}/git" 38S = "${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]
2Description=Aktualizr SOTA Client (UPTANE Secondary) 2Description=Aktualizr SOTA Client (UPTANE Secondary)
3After=network.target 3After=network-online.target
4Wants=network-online.target
4 5
5[Service] 6[Service]
6RestartSec=10 7RestartSec=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]
2Description=Aktualizr SOTA Client 2Description=Aktualizr SOTA Client
3After=network.target nss-lookup.target 3After=network-online.target nss-lookup.target
4Wants=network-online.target
4 5
5[Service] 6[Service]
6RestartSec=10 7RestartSec=10