summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
diff options
context:
space:
mode:
authorSerhiy Stetskovych <patriotyk@gmail.com>2018-11-21 11:47:31 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-11-29 11:19:41 +0100
commit84c3f66de1a1d690eeed2035ae1a8232f35a0572 (patch)
tree04a216e4e8fc8f1363ec3599eabcbd9446799758 /classes/sota.bbclass
parenteaee7001e061ed8cf644b013be8e0ec62a9e3f74 (diff)
downloadmeta-updater-84c3f66de1a1d690eeed2035ae1a8232f35a0572.tar.gz
Allow setup custom hardware_id
Signed-off-by: Serhiy Stetskovych <patriotyk@gmail.com>
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r--classes/sota.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index 06da674..1e149ea 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -10,6 +10,7 @@ HOSTTOOLS_NONFATAL += "java"
10SOTA_CLIENT ??= "aktualizr" 10SOTA_CLIENT ??= "aktualizr"
11SOTA_CLIENT_PROV ??= "aktualizr-auto-prov" 11SOTA_CLIENT_PROV ??= "aktualizr-auto-prov"
12SOTA_DEPLOY_CREDENTIALS ?= "1" 12SOTA_DEPLOY_CREDENTIALS ?= "1"
13SOTA_HARDWARE_ID ??= "${MACHINE}"
13 14
14IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT} ${SOTA_CLIENT_PROV}" 15IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT} ${SOTA_CLIENT_PROV}"
15IMAGE_CLASSES += " image_types_ostree image_types_ota" 16IMAGE_CLASSES += " image_types_ostree image_types_ota"
@@ -26,7 +27,7 @@ OSTREE_INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER', T
26 27
27# Please redefine OSTREE_REPO in order to have a persistent OSTree repo 28# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
28OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" 29OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"
29OSTREE_BRANCHNAME ?= "${MACHINE}" 30OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}"
30OSTREE_OSNAME ?= "poky" 31OSTREE_OSNAME ?= "poky"
31OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" 32OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image"
32OSTREE_BOOTLOADER ??= 'u-boot' 33OSTREE_BOOTLOADER ??= 'u-boot'