summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-03-29 13:45:30 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-05-28 11:10:57 +0200
commit4b33b1ac46fb525941c588b0a4c1b3ce132cad71 (patch)
tree244af48911d34ebc10ff12c35d1f107755666393 /classes/sota.bbclass
parent4bcd0509c780a2e244aab4713926a548c176fb5f (diff)
downloadmeta-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.bbclass2
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}"
36GARAGE_TARGET_VERSION ?= "" 36GARAGE_TARGET_VERSION ?= ""
37GARAGE_TARGET_URL ?= "https://example.com/" 37GARAGE_TARGET_URL ?= "https://example.com/"
38 38
39SOTA_HARDWARE_ID ?= "${MACHINE}"
40
39SOTA_MACHINE ??="none" 41SOTA_MACHINE ??="none"
40SOTA_MACHINE_rpi ?= "raspberrypi" 42SOTA_MACHINE_rpi ?= "raspberrypi"
41SOTA_MACHINE_porter ?= "porter" 43SOTA_MACHINE_porter ?= "porter"