diff options
author | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-04-11 14:11:30 -0300 |
---|---|---|
committer | Phil Wise <philip.wise@here.com> | 2018-05-11 15:59:17 +0200 |
commit | 9ef1f5b379e7b80d91f77ae99b6c07c07987f753 (patch) | |
tree | 4ede77ae62babb93fc139586c3f2b1107e04b07c /classes/sota.bbclass | |
parent | 28f18be41d4b01dc5208159fd569f3820264b16e (diff) | |
download | meta-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.bbclass | 2 |
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" | |||
31 | GARAGE_SIGN_REPO ?= "${DEPLOY_DIR_IMAGE}/garage_sign_repo" | 31 | GARAGE_SIGN_REPO ?= "${DEPLOY_DIR_IMAGE}/garage_sign_repo" |
32 | GARAGE_SIGN_KEYNAME ?= "garage-key" | 32 | GARAGE_SIGN_KEYNAME ?= "garage-key" |
33 | GARAGE_TARGET_NAME ?= "${OSTREE_BRANCHNAME}" | 33 | GARAGE_TARGET_NAME ?= "${OSTREE_BRANCHNAME}" |
34 | GARAGE_TARGET_VERSION ?= "" | ||
35 | GARAGE_TARGET_URL ?= "https://example.com/" | ||
34 | 36 | ||
35 | SOTA_MACHINE ??="none" | 37 | SOTA_MACHINE ??="none" |
36 | SOTA_MACHINE_rpi ?= "raspberrypi" | 38 | SOTA_MACHINE_rpi ?= "raspberrypi" |