diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-14 12:06:23 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-17 17:03:38 +0200 |
commit | 837b2fc0f2ccf6d334ebf026a44f3ea0f83323a7 (patch) | |
tree | 9562684e3dee5d010ccf5b4cae38145012a053d5 /recipes-sota/aktualizr/aktualizr-shared-prov.bb | |
parent | 44a3013733071c7f14472af7423816d6c9ecc52c (diff) | |
download | meta-updater-837b2fc0f2ccf6d334ebf026a44f3ea0f83323a7.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 | ||