diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2018-03-29 13:45:30 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2018-05-28 11:10:57 +0200 |
commit | 4b33b1ac46fb525941c588b0a4c1b3ce132cad71 (patch) | |
tree | 244af48911d34ebc10ff12c35d1f107755666393 /recipes-test/images/primary-image.bb | |
parent | 4bcd0509c780a2e244aab4713926a548c176fb5f (diff) | |
download | meta-updater-4b33b1ac46fb525941c588b0a4c1b3ce132cad71.tar.gz |
Try to set hardware IDs in local.conf.bugfix/PRO-5140/hardware_ids
Communicating the IDs to the images works, but getting the IDs in the
garage-push commits does not. I can get the variables exported, but the
script still uses the wrong (old) value. Not sure why.
Diffstat (limited to 'recipes-test/images/primary-image.bb')
-rw-r--r-- | recipes-test/images/primary-image.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-test/images/primary-image.bb b/recipes-test/images/primary-image.bb index 6d2df94..21ff565 100644 --- a/recipes-test/images/primary-image.bb +++ b/recipes-test/images/primary-image.bb | |||
@@ -1,9 +1,17 @@ | |||
1 | include recipes-core/images/core-image-minimal.bb | 1 | include recipes-core/images/core-image-minimal.bb |
2 | 2 | ||
3 | #export SOTA_PRIMARY_HARDWARE_ID | ||
4 | #export SOTA_HARDWARE_ID | ||
5 | |||
3 | SUMMARY = "A minimal Uptane Primary image running aktualizr, for testing with a Linux secondary" | 6 | SUMMARY = "A minimal Uptane Primary image running aktualizr, for testing with a Linux secondary" |
4 | 7 | ||
5 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
6 | 9 | ||
10 | python () { | ||
11 | if d.getVar("SOTA_PRIMARY_HARDWARE_ID", True): | ||
12 | d.setVar("SOTA_HARDWARE_ID", d.getVar("SOTA_PRIMARY_HARDWARE_ID", True)) | ||
13 | } | ||
14 | |||
7 | IMAGE_INSTALL_remove = " \ | 15 | IMAGE_INSTALL_remove = " \ |
8 | " | 16 | " |
9 | 17 | ||