diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-08-15 12:23:57 +0200 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-08-15 17:49:14 +0200 |
commit | cbcb34fa283f549fe895cbb197bda541ff881420 (patch) | |
tree | 19d7600c309b6c5e132bfe7146bd916e6816f275 | |
parent | 9cf041d78841c212b3af4b4a3f09b3d8c32af7f6 (diff) | |
download | meta-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.bbclass | 10 |
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 | |||
38 | INITRAMFS_FSTYPES ?= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER') == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}" | 38 | INITRAMFS_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 |
41 | export OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" | 41 | OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" |
42 | export OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" | 42 | OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" |
43 | export OSTREE_OSNAME ?= "poky" | 43 | OSTREE_OSNAME ?= "poky" |
44 | export OSTREE_BOOTLOADER ??= 'u-boot' | 44 | OSTREE_BOOTLOADER ??= 'u-boot' |
45 | export OSTREE_BOOT_PARTITION ??= "/boot" | 45 | OSTREE_BOOT_PARTITION ??= "/boot" |
46 | 46 | ||
47 | INITRAMFS_IMAGE ?= "initramfs-ostree-image" | 47 | INITRAMFS_IMAGE ?= "initramfs-ostree-image" |
48 | 48 | ||