From d84246d351f828aa5a4124e80542237fd3b2e99d Mon Sep 17 00:00:00 2001 From: Phil Wise Date: Tue, 23 May 2017 16:14:11 +0200 Subject: Prefix OSTREE_BRANCHNAME with ${MACHINE}- As a temporary fix, treehub is going to use this to derive the relevant hardwareIdentifier for a push. --- classes/sota.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes/sota.bbclass') diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 6fbba26..adbfdb3 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass @@ -15,7 +15,8 @@ EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native # Please redefine OSTREE_REPO in order to have a persistent OSTree repo OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" -OSTREE_BRANCHNAME ?= "ota-${MACHINE}" +# For UPTANE operation, OSTREE_BRANCHNAME must start with "${MACHINE}-" +OSTREE_BRANCHNAME ?= "${MACHINE}-ota" OSTREE_OSNAME ?= "poky" OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" -- cgit v1.2.3-54-g00ecf