summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
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-16 11:56:28 +0200
commitd2a57a9bfc8b3939addf92d14d9178f6f9ebb434 (patch)
treeb14a7d973bf9603358cb3280b99348e0617e1f1b /classes/sota.bbclass
parentedff609356bee7fd8e03764e00da9e58c60c5ba9 (diff)
downloadmeta-updater-d2a57a9bfc8b3939addf92d14d9178f6f9ebb434.tar.gz
Do not export anything in sota.bbclass
A simple variable definition will be enough and doing an export there completely kills caching. Cherry-picked from master with additional fix to use yocto variables instead of bash ones (not present anymore). Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r--classes/sota.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index 61d27ad..85401d5 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -40,11 +40,11 @@ EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native
40OSTREE_INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot', 'ext4.gz.u-boot', 'ext4.gz')}" 40OSTREE_INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot', 'ext4.gz.u-boot', 'ext4.gz')}"
41 41
42# Please redefine OSTREE_REPO in order to have a persistent OSTree repo 42# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
43export OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" 43OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"
44export OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" 44OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}"
45export OSTREE_OSNAME ?= "poky" 45OSTREE_OSNAME ?= "poky"
46export OSTREE_BOOTLOADER ??= 'u-boot' 46OSTREE_BOOTLOADER ??= 'u-boot'
47export OSTREE_BOOT_PARTITION ??= "/boot" 47OSTREE_BOOT_PARTITION ??= "/boot"
48 48
49OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" 49OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image"
50 50