diff options
| author | Patrick Vacek <patrickvacek@gmail.com> | 2020-07-14 09:42:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-14 09:42:23 +0200 |
| commit | 4af1ea60f37d8a63a3a9633be14591f1b2066cd1 (patch) | |
| tree | a8bfc25e3f3d4e21ddaf548dd1679a2e414a1ec8 /recipes-sota/aktualizr | |
| parent | 983123656f93a28c4c1ad07e4b1855833511d922 (diff) | |
| parent | 4cb3ea0eca94ba8b20d2c8035e6c12f863e4fd3d (diff) | |
| download | meta-updater-4af1ea60f37d8a63a3a9633be14591f1b2066cd1.tar.gz | |
Merge pull request #749 from advancedtelematic/feat/dunfell/2020.8
Feat/dunfell/2020.8
Diffstat (limited to 'recipes-sota/aktualizr')
| -rw-r--r-- | recipes-sota/aktualizr/aktualizr_git.bb | 20 | ||||
| -rw-r--r-- | recipes-sota/aktualizr/files/aktualizr.service | 3 |
2 files changed, 13 insertions, 10 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 56a6389..d9b464f 100644 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb | |||
| @@ -17,7 +17,7 @@ PRIVATE_LIBS_${PN}-ptest = "libaktualizr.so libaktualizr_secondary.so" | |||
| 17 | PV = "1.0+git${SRCPV}" | 17 | PV = "1.0+git${SRCPV}" |
| 18 | PR = "7" | 18 | PR = "7" |
| 19 | 19 | ||
| 20 | GARAGE_SIGN_PV = "0.7.1-4-gf10c1da" | 20 | GARAGE_SIGN_PV = "0.7.1-10-ga0a099a" |
| 21 | 21 | ||
| 22 | SRC_URI = " \ | 22 | SRC_URI = " \ |
| 23 | gitsm://github.com/advancedtelematic/aktualizr;branch=${BRANCH};name=aktualizr \ | 23 | gitsm://github.com/advancedtelematic/aktualizr;branch=${BRANCH};name=aktualizr \ |
| @@ -29,10 +29,10 @@ SRC_URI = " \ | |||
| 29 | ${@ d.expand("https://tuf-cli-releases.ota.here.com/cli-${GARAGE_SIGN_PV}.tgz;unpack=0;name=garagesign") if not oe.types.boolean(d.getVar('GARAGE_SIGN_AUTOVERSION')) else ''} \ | 29 | ${@ d.expand("https://tuf-cli-releases.ota.here.com/cli-${GARAGE_SIGN_PV}.tgz;unpack=0;name=garagesign") if not oe.types.boolean(d.getVar('GARAGE_SIGN_AUTOVERSION')) else ''} \ |
| 30 | " | 30 | " |
| 31 | 31 | ||
| 32 | SRC_URI[garagesign.md5sum] = "5f8eea81d1559d6fcb28d49c4298727c" | 32 | SRC_URI[garagesign.md5sum] = "e2354fb75ae56c2d253be26617b2bd10" |
| 33 | SRC_URI[garagesign.sha256sum] = "8b2f5bb164f19b41972069d3377e39c2eb9edffd471777161691039e12a71738" | 33 | SRC_URI[garagesign.sha256sum] = "2ddb26b19090a42d7aeeda287ed40123ffa3ab55b5dcc4ea4c9320d0a0fd59a0" |
| 34 | 34 | ||
| 35 | SRCREV = "cf44da79555d1897115eb350cbc43db1e213db03" | 35 | SRCREV = "4169157a1874fca3fb55571c60507c1aefd4e1e5" |
| 36 | BRANCH ?= "master" | 36 | BRANCH ?= "master" |
| 37 | 37 | ||
| 38 | S = "${WORKDIR}/git" | 38 | S = "${WORKDIR}/git" |
| @@ -132,23 +132,25 @@ PACKAGESPLITFUNCS_prepend = "split_hosttools_packages " | |||
| 132 | python split_hosttools_packages () { | 132 | python split_hosttools_packages () { |
| 133 | bindir = d.getVar('bindir') | 133 | bindir = d.getVar('bindir') |
| 134 | 134 | ||
| 135 | # Split all binaries to their own packages except aktualizr-info, | 135 | # Split all binaries to their own packages. |
| 136 | # aktualizr-info should stay in main package aktualizr. | 136 | do_split_packages(d, bindir, '^(.*)$', '%s', 'Aktualizr tool - %s', extra_depends='aktualizr-configs', prepend=False) |
| 137 | do_split_packages(d, bindir, r'^((?!(aktualizr-info)).*)$', '%s', 'Aktualizr tool - %s', extra_depends='aktualizr-configs', prepend=False) | ||
| 138 | } | 137 | } |
| 139 | 138 | ||
| 140 | PACKAGES_DYNAMIC = "^aktualizr-.* ^garage-.*" | 139 | PACKAGES_DYNAMIC = "^aktualizr-.* ^garage-.*" |
| 141 | 140 | ||
| 142 | PACKAGES =+ "${PN}-host-tools ${PN}-lib ${PN}-resource-control ${PN}-configs ${PN}-secondary ${PN}-secondary-lib ${PN}-sotatools-lib" | 141 | PACKAGES =+ "${PN}-host-tools ${PN}-info ${PN}-lib ${PN}-resource-control ${PN}-configs ${PN}-secondary ${PN}-secondary-lib ${PN}-sotatools-lib" |
| 143 | 142 | ||
| 144 | ALLOW_EMPTY_${PN}-host-tools = "1" | 143 | ALLOW_EMPTY_${PN}-host-tools = "1" |
| 145 | 144 | ||
| 146 | FILES_${PN} = " \ | 145 | FILES_${PN} = " \ |
| 147 | ${bindir}/aktualizr \ | 146 | ${bindir}/aktualizr \ |
| 148 | ${bindir}/aktualizr-info \ | ||
| 149 | ${systemd_unitdir}/system/aktualizr.service \ | 147 | ${systemd_unitdir}/system/aktualizr.service \ |
| 150 | " | 148 | " |
| 151 | 149 | ||
| 150 | FILES_${PN}-info = " \ | ||
| 151 | ${bindir}/aktualizr-info \ | ||
| 152 | " | ||
| 153 | |||
| 152 | FILES_${PN}-lib = " \ | 154 | FILES_${PN}-lib = " \ |
| 153 | ${libdir}/libaktualizr.so \ | 155 | ${libdir}/libaktualizr.so \ |
| 154 | " | 156 | " |
diff --git a/recipes-sota/aktualizr/files/aktualizr.service b/recipes-sota/aktualizr/files/aktualizr.service index 3d807a1..ae5d23a 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-online.target nss-lookup.target | 3 | After=network-online.target nss-lookup.target boot-complete.target |
| 4 | Requires=boot-complete.target | ||
| 4 | Wants=network-online.target | 5 | Wants=network-online.target |
| 5 | 6 | ||
| 6 | [Service] | 7 | [Service] |
