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 15:34:27 +0200 |
commit | 261c28a0dcbf6a9d1720094724aa95f2ad765b40 (patch) | |
tree | 7bf628487e57f8124652778bbf85f0e9d1705451 | |
parent | 4f902846227f6b3039a6d88d35ffed3921289a9b (diff) | |
download | meta-updater-261c28a0dcbf6a9d1720094724aa95f2ad765b40.tar.gz |
Do not export anything in sota.bbclassfix/ostree-branchname-2
A simple variable definition will be enough and doing an export there
completely kills caching.
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-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 51b0053..86863d9 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 | ||