diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-14 12:06:23 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-21 13:02:11 +0200 |
commit | 0f25771be55a3c7daf9eded720bf2868b04becde (patch) | |
tree | 97639c172f2fe89e3ed25c4443f687c099ddfaa6 /recipes-sota/aktualizr/aktualizr-shared-prov.bb | |
parent | 1f7ff1fa5b72a20471eb9deb13d3ff5b06ec446d (diff) | |
download | meta-updater-0f25771be55a3c7daf9eded720bf2868b04becde.tar.gz |
aktualizr: use SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS for config recipes.
This is a bit of a compromise. These recipes are allarch, since they do
not depend on an architecture, but they depend on aktualizr, which is
definitely not allarch. Therefore, we must tell bitbake not to treat the
aktualizr architecture as a dependency of these recipes.
However, this means that if one of the config files changes in the
aktualizr repo, we need to bump the version of the recipe that uses it
to make sure bitbake picks up that change.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-shared-prov.bb')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr-shared-prov.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-shared-prov.bb b/recipes-sota/aktualizr/aktualizr-shared-prov.bb index 00588dc..2ee47a1 100644 --- a/recipes-sota/aktualizr/aktualizr-shared-prov.bb +++ b/recipes-sota/aktualizr/aktualizr-shared-prov.bb | |||
@@ -11,6 +11,9 @@ inherit allarch | |||
11 | # the aktualizr (target) recipe. | 11 | # the aktualizr (target) recipe. |
12 | DEPENDS = "aktualizr" | 12 | DEPENDS = "aktualizr" |
13 | RDEPENDS_${PN}_append = "${@' aktualizr-shared-prov-creds' if d.getVar('SOTA_DEPLOY_CREDENTIALS') == '1' else ''}" | 13 | RDEPENDS_${PN}_append = "${@' aktualizr-shared-prov-creds' if d.getVar('SOTA_DEPLOY_CREDENTIALS') == '1' else ''}" |
14 | |||
15 | # If the config file from aktualizr used here is changed, you will need to bump | ||
16 | # the version here because of SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS! | ||
14 | PV = "1.0" | 17 | PV = "1.0" |
15 | PR = "6" | 18 | PR = "6" |
16 | 19 | ||