diff options
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr_git.bb')
| -rw-r--r-- | recipes-sota/aktualizr/aktualizr_git.bb | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 4cc1a37..7aa611f 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 | ||
| 8 | DEPENDS = "boost curl openssl libarchive libsodium sqlite3 asn1c-native" | 8 | DEPENDS = "boost curl openssl libarchive libsodium sqlite3 asn1c-native" |
| 9 | DEPENDS_append = "${@bb.utils.contains('PTEST_ENABLED', '1', ' coreutils-native net-tools-native ostree-native aktualizr-native ', '', d)}" | 9 | DEPENDS_append = "${@bb.utils.contains('PTEST_ENABLED', '1', ' coreutils-native net-tools-native ostree-native aktualizr-native ', '', d)}" |
| 10 | RDEPENDS_${PN}_class-target = "aktualizr-configs aktualizr-hwid lshw" | 10 | RDEPENDS_${PN}_class-target = "${PN}-configs ${PN}-hwid lshw" |
| 11 | RDEPENDS_${PN}-host-tools = "aktualizr aktualizr-cert-provider ${@bb.utils.contains('PACKAGECONFIG', 'sota-tools', 'garage-deploy garage-push', '', d)}" | 11 | RDEPENDS_${PN}-host-tools = "aktualizr aktualizr-cert-provider ${@bb.utils.contains('PACKAGECONFIG', 'sota-tools', 'garage-deploy garage-push', '', d)}" |
| 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" |
| @@ -15,7 +15,7 @@ RDEPENDS_${PN}-ptest += "bash cmake curl python3-misc python3-modules openssl-bi | |||
| 15 | PV = "1.0+git${SRCPV}" | 15 | PV = "1.0+git${SRCPV}" |
| 16 | PR = "7" | 16 | PR = "7" |
| 17 | 17 | ||
| 18 | GARAGE_SIGN_PV = "0.7.0-61-g909b804" | 18 | GARAGE_SIGN_PV = "0.7.0-64-gc7c279f" |
| 19 | 19 | ||
| 20 | SRC_URI = " \ | 20 | SRC_URI = " \ |
| 21 | gitsm://github.com/advancedtelematic/aktualizr;branch=${BRANCH};name=aktualizr \ | 21 | gitsm://github.com/advancedtelematic/aktualizr;branch=${BRANCH};name=aktualizr \ |
| @@ -27,10 +27,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 ''} \ | 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 ''} \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | SRC_URI[garagesign.md5sum] = "3e1ae6d49cc66fda37cef47f849d9609" | 30 | SRC_URI[garagesign.md5sum] = "36dedbf79f71cb697a18251ea121bcc6" |
| 31 | SRC_URI[garagesign.sha256sum] = "8d49b83efa222db2f092ee14348459ee1bfd048552b57c3cb5ab48db8e347d82" | 31 | SRC_URI[garagesign.sha256sum] = "f0a8e4bb258fd65a6f1fe561132d5ab3fe25b76aec0f1873993dc65bf2167608" |
| 32 | 32 | ||
| 33 | SRCREV = "6633d0d0e6353fdf8970001dc8da70e6a28203cd" | 33 | SRCREV = "5ead19cf8aefee44e929b7e98bc5aa63e0621aac" |
| 34 | BRANCH ?= "master" | 34 | BRANCH ?= "master" |
| 35 | 35 | ||
| 36 | S = "${WORKDIR}/git" | 36 | S = "${WORKDIR}/git" |
| @@ -140,7 +140,7 @@ python split_hosttools_packages () { | |||
| 140 | 140 | ||
| 141 | PACKAGES_DYNAMIC = "^aktualizr-.* ^garage-.*" | 141 | PACKAGES_DYNAMIC = "^aktualizr-.* ^garage-.*" |
| 142 | 142 | ||
| 143 | PACKAGES =+ "${PN}-resource-control ${PN}-examples ${PN}-secondary ${PN}-configs ${PN}-host-tools" | 143 | PACKAGES =+ "${PN}-host-tools ${PN}-lib ${PN}-resource-control ${PN}-configs ${PN}-examples ${PN}-secondary ${PN}-secondary-lib ${PN}-sotatools-lib" |
| 144 | 144 | ||
| 145 | ALLOW_EMPTY_${PN}-host-tools = "1" | 145 | ALLOW_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 | ||
| 153 | FILES_${PN}-lib = " \ | ||
| 154 | ${libdir}/libaktualizr_lib.so \ | ||
| 155 | " | ||
| 156 | |||
| 153 | FILES_${PN}-resource-control = " \ | 157 | FILES_${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 | ||
| 176 | FILES_${PN}-secondary-lib = " \ | ||
| 177 | ${libdir}/libaktualizr_secondary_lib.so \ | ||
| 178 | " | ||
| 179 | |||
| 180 | FILES_${PN}-sotatools-lib = " \ | ||
| 181 | ${libdir}/libsota_tools_lib.so \ | ||
| 182 | " | ||
| 183 | |||
| 184 | FILES_${PN}-dev = "" | ||
| 185 | |||
| 172 | BBCLASSEXTEND = "native" | 186 | BBCLASSEXTEND = "native" |
| 173 | 187 | ||
| 174 | # vim:set ts=4 sw=4 sts=4 expandtab: | 188 | # vim:set ts=4 sw=4 sts=4 expandtab: |
