summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2020-01-08 17:07:25 +0100
committerLaurent Bonnans <laurent.bonnans@here.com>2020-01-09 13:44:51 +0100
commit892a71a4f7aff6edc6216d4459aa8d524076faeb (patch)
tree65a545ee5b7309053e18a46bcec3ab497dd4bbfb /recipes-sota
parent13c2570470a8e26df486dc02447206a313f44aca (diff)
downloadmeta-updater-892a71a4f7aff6edc6216d4459aa8d524076faeb.tar.gz
Adapt to shared libraries changes in aktualizrfeat/akt-dynlib
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'recipes-sota')
-rw-r--r--recipes-sota/aktualizr/aktualizr_git.bb20
1 files changed, 17 insertions, 3 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index 70b1e0e..2e91a7b 100644
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
7 7
8DEPENDS = "boost curl openssl libarchive libsodium sqlite3 asn1c-native" 8DEPENDS = "boost curl openssl libarchive libsodium sqlite3 asn1c-native"
9DEPENDS_append = "${@bb.utils.contains('PTEST_ENABLED', '1', ' coreutils-native net-tools-native ostree-native aktualizr-native ', '', d)}" 9DEPENDS_append = "${@bb.utils.contains('PTEST_ENABLED', '1', ' coreutils-native net-tools-native ostree-native aktualizr-native ', '', d)}"
10RDEPENDS_${PN}_class-target = "aktualizr-configs aktualizr-hwid lshw" 10RDEPENDS_${PN}_class-target = "${PN}-configs ${PN}-hwid lshw"
11RDEPENDS_${PN}-host-tools = "aktualizr aktualizr-cert-provider ${@bb.utils.contains('PACKAGECONFIG', 'sota-tools', 'garage-deploy garage-push', '', d)}" 11RDEPENDS_${PN}-host-tools = "aktualizr aktualizr-cert-provider ${@bb.utils.contains('PACKAGECONFIG', 'sota-tools', 'garage-deploy garage-push', '', d)}"
12 12
13RDEPENDS_${PN}-ptest += "bash cmake curl net-tools python3-core python3-misc python3-modules openssl-bin sqlite3 valgrind" 13RDEPENDS_${PN}-ptest += "bash cmake curl net-tools python3-core python3-misc python3-modules openssl-bin sqlite3 valgrind"
@@ -30,7 +30,7 @@ SRC_URI = " \
30SRC_URI[garagesign.md5sum] = "3e1ae6d49cc66fda37cef47f849d9609" 30SRC_URI[garagesign.md5sum] = "3e1ae6d49cc66fda37cef47f849d9609"
31SRC_URI[garagesign.sha256sum] = "8d49b83efa222db2f092ee14348459ee1bfd048552b57c3cb5ab48db8e347d82" 31SRC_URI[garagesign.sha256sum] = "8d49b83efa222db2f092ee14348459ee1bfd048552b57c3cb5ab48db8e347d82"
32 32
33SRCREV = "2403384097448042c825c485e905deb130ce9fcc" 33SRCREV = "bc54d32b8d4e97409908e700b9615fef2ca7ced2"
34BRANCH ?= "master" 34BRANCH ?= "master"
35 35
36S = "${WORKDIR}/git" 36S = "${WORKDIR}/git"
@@ -140,7 +140,7 @@ python split_hosttools_packages () {
140 140
141PACKAGES_DYNAMIC = "^aktualizr-.* ^garage-.*" 141PACKAGES_DYNAMIC = "^aktualizr-.* ^garage-.*"
142 142
143PACKAGES =+ "${PN}-resource-control ${PN}-examples ${PN}-secondary ${PN}-configs ${PN}-host-tools" 143PACKAGES =+ "${PN}-host-tools ${PN}-lib ${PN}-resource-control ${PN}-configs ${PN}-examples ${PN}-secondary ${PN}-secondary-lib ${PN}-sotatools-lib"
144 144
145ALLOW_EMPTY_${PN}-host-tools = "1" 145ALLOW_EMPTY_${PN}-host-tools = "1"
146 146
@@ -150,6 +150,10 @@ FILES_${PN} = " \
150 ${systemd_unitdir}/system/aktualizr.service \ 150 ${systemd_unitdir}/system/aktualizr.service \
151 " 151 "
152 152
153FILES_${PN}-lib = " \
154 ${libdir}/libaktualizr_lib.so \
155 "
156
153FILES_${PN}-resource-control = " \ 157FILES_${PN}-resource-control = " \
154 ${systemd_system_unitdir}/aktualizr.service.d/10-resource-control.conf \ 158 ${systemd_system_unitdir}/aktualizr.service.d/10-resource-control.conf \
155 " 159 "
@@ -169,6 +173,16 @@ FILES_${PN}-secondary = " \
169 ${systemd_unitdir}/system/aktualizr-secondary.service \ 173 ${systemd_unitdir}/system/aktualizr-secondary.service \
170 " 174 "
171 175
176FILES_${PN}-secondary-lib = " \
177 ${libdir}/libaktualizr_secondary_lib.so \
178 "
179
180FILES_${PN}-sotatools-lib = " \
181 ${libdir}/libsota_tools_lib.so \
182 "
183
184FILES_${PN}-dev = ""
185
172BBCLASSEXTEND = "native" 186BBCLASSEXTEND = "native"
173 187
174# vim:set ts=4 sw=4 sts=4 expandtab: 188# vim:set ts=4 sw=4 sts=4 expandtab: