summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-08-15 12:23:57 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-08-15 17:49:14 +0200
commitcbcb34fa283f549fe895cbb197bda541ff881420 (patch)
tree19d7600c309b6c5e132bfe7146bd916e6816f275
parent9cf041d78841c212b3af4b4a3f09b3d8c32af7f6 (diff)
downloadmeta-updater-cbcb34fa283f549fe895cbb197bda541ff881420.tar.gz
Do not export anything in sota.bbclass
A simple variable definition will be enough and doing an export there completely kills caching. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> (cherry picked from commit 261c28a0dcbf6a9d1720094724aa95f2ad765b40)
-rw-r--r--classes/sota.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index 94c3043..5506428 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -38,11 +38,11 @@ EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native
38INITRAMFS_FSTYPES ?= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER') == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}" 38INITRAMFS_FSTYPES ?= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER') == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}"
39 39
40# Please redefine OSTREE_REPO in order to have a persistent OSTree repo 40# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
41export OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" 41OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"
42export OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" 42OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}"
43export OSTREE_OSNAME ?= "poky" 43OSTREE_OSNAME ?= "poky"
44export OSTREE_BOOTLOADER ??= 'u-boot' 44OSTREE_BOOTLOADER ??= 'u-boot'
45export OSTREE_BOOT_PARTITION ??= "/boot" 45OSTREE_BOOT_PARTITION ??= "/boot"
46 46
47INITRAMFS_IMAGE ?= "initramfs-ostree-image" 47INITRAMFS_IMAGE ?= "initramfs-ostree-image"
48 48