summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-04-11 14:11:30 -0300
committerRicardo Salveti <ricardo@opensourcefoundries.com>2018-04-11 18:41:23 -0300
commit1c48a48f0a0134e53854b4b32d558eca807df766 (patch)
tree0d1b1cd298ca7954b684e62176d4b72dc76e477f /classes/sota.bbclass
parentc2d1d2a086102cab64629ac2770055d11015af2d (diff)
downloadmeta-updater-1c48a48f0a0134e53854b4b32d558eca807df766.tar.gz
Add support for custom garage target version and url
Both values can be defined by the user, allowing a custom version id and URL, which is specially useful for CI builds. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
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 33a2f4b..621db24 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -33,6 +33,8 @@ OSTREE_BOOTLOADER ??= 'u-boot'
33GARAGE_SIGN_REPO ?= "${DEPLOY_DIR_IMAGE}/garage_sign_repo" 33GARAGE_SIGN_REPO ?= "${DEPLOY_DIR_IMAGE}/garage_sign_repo"
34GARAGE_SIGN_KEYNAME ?= "garage-key" 34GARAGE_SIGN_KEYNAME ?= "garage-key"
35GARAGE_TARGET_NAME ?= "${OSTREE_BRANCHNAME}" 35GARAGE_TARGET_NAME ?= "${OSTREE_BRANCHNAME}"
36GARAGE_TARGET_VERSION ?= ""
37GARAGE_TARGET_URL ?= "https://example.com/"
36 38
37SOTA_MACHINE ??="none" 39SOTA_MACHINE ??="none"
38SOTA_MACHINE_rpi ?= "raspberrypi" 40SOTA_MACHINE_rpi ?= "raspberrypi"