summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-04-11 14:11:30 -0300
committerPhil Wise <philip.wise@here.com>2018-05-11 15:59:17 +0200
commit9ef1f5b379e7b80d91f77ae99b6c07c07987f753 (patch)
tree4ede77ae62babb93fc139586c3f2b1107e04b07c /classes/sota.bbclass
parent28f18be41d4b01dc5208159fd569f3820264b16e (diff)
downloadmeta-updater-9ef1f5b379e7b80d91f77ae99b6c07c07987f753.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 4e525e2..1e765f0 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -31,6 +31,8 @@ OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image"
31GARAGE_SIGN_REPO ?= "${DEPLOY_DIR_IMAGE}/garage_sign_repo" 31GARAGE_SIGN_REPO ?= "${DEPLOY_DIR_IMAGE}/garage_sign_repo"
32GARAGE_SIGN_KEYNAME ?= "garage-key" 32GARAGE_SIGN_KEYNAME ?= "garage-key"
33GARAGE_TARGET_NAME ?= "${OSTREE_BRANCHNAME}" 33GARAGE_TARGET_NAME ?= "${OSTREE_BRANCHNAME}"
34GARAGE_TARGET_VERSION ?= ""
35GARAGE_TARGET_URL ?= "https://example.com/"
34 36
35SOTA_MACHINE ??="none" 37SOTA_MACHINE ??="none"
36SOTA_MACHINE_rpi ?= "raspberrypi" 38SOTA_MACHINE_rpi ?= "raspberrypi"