diff options
author | Serhiy Stetskovych <patriotyk@gmail.com> | 2018-11-21 11:47:31 +0200 |
---|---|---|
committer | Serhiy Stetskovych <patriotyk@gmail.com> | 2018-11-22 11:15:35 +0200 |
commit | 01700ac5f0f3aaaee17b9dc426b0697996d17c70 (patch) | |
tree | 7888ddcd76fe66c97725e3542f66035e5684f359 /classes/sota.bbclass | |
parent | 616cbf7d42dc7a6d9b09803fd7e6080299264f74 (diff) | |
download | meta-updater-01700ac5f0f3aaaee17b9dc426b0697996d17c70.tar.gz |
Allow setup custom hardware_idfeat/hardware_id
Signed-off-by: Serhiy Stetskovych <patriotyk@gmail.com>
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r-- | classes/sota.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 98cc3de..7fb54dc 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -11,6 +11,7 @@ HOSTTOOLS_NONFATAL += "java" | |||
11 | SOTA_CLIENT ??= "aktualizr" | 11 | SOTA_CLIENT ??= "aktualizr" |
12 | SOTA_CLIENT_PROV ??= "aktualizr-auto-prov" | 12 | SOTA_CLIENT_PROV ??= "aktualizr-auto-prov" |
13 | SOTA_DEPLOY_CREDENTIALS ?= "1" | 13 | SOTA_DEPLOY_CREDENTIALS ?= "1" |
14 | SOTA_HARDWARE_ID ??= "${MACHINE}" | ||
14 | 15 | ||
15 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT} ${SOTA_CLIENT_PROV}" | 16 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT} ${SOTA_CLIENT_PROV}" |
16 | IMAGE_CLASSES += " image_types_ostree image_types_ota" | 17 | IMAGE_CLASSES += " image_types_ostree image_types_ota" |
@@ -29,7 +30,7 @@ INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER', True) == | |||
29 | 30 | ||
30 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo | 31 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo |
31 | OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" | 32 | OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" |
32 | OSTREE_BRANCHNAME ?= "${MACHINE}" | 33 | OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" |
33 | OSTREE_OSNAME ?= "poky" | 34 | OSTREE_OSNAME ?= "poky" |
34 | INITRAMFS_IMAGE ?= "initramfs-ostree-image" | 35 | INITRAMFS_IMAGE ?= "initramfs-ostree-image" |
35 | OSTREE_BOOTLOADER ??= 'u-boot' | 36 | OSTREE_BOOTLOADER ??= 'u-boot' |