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 /classes/sota.bbclass | |
parent | 4bcd0509c780a2e244aab4713926a548c176fb5f (diff) | |
download | meta-updater-bugfix/PRO-5140/hardware_ids.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 'classes/sota.bbclass')
-rw-r--r-- | classes/sota.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 38d4ce5..d9df83a 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -36,6 +36,8 @@ GARAGE_TARGET_NAME ?= "${OSTREE_BRANCHNAME}" | |||
36 | GARAGE_TARGET_VERSION ?= "" | 36 | GARAGE_TARGET_VERSION ?= "" |
37 | GARAGE_TARGET_URL ?= "https://example.com/" | 37 | GARAGE_TARGET_URL ?= "https://example.com/" |
38 | 38 | ||
39 | SOTA_HARDWARE_ID ?= "${MACHINE}" | ||
40 | |||
39 | SOTA_MACHINE ??="none" | 41 | SOTA_MACHINE ??="none" |
40 | SOTA_MACHINE_rpi ?= "raspberrypi" | 42 | SOTA_MACHINE_rpi ?= "raspberrypi" |
41 | SOTA_MACHINE_porter ?= "porter" | 43 | SOTA_MACHINE_porter ?= "porter" |