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-16 11:56:28 +0200 |
| commit | d2a57a9bfc8b3939addf92d14d9178f6f9ebb434 (patch) | |
| tree | b14a7d973bf9603358cb3280b99348e0617e1f1b /classes/sota.bbclass | |
| parent | edff609356bee7fd8e03764e00da9e58c60c5ba9 (diff) | |
| download | meta-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.bbclass | 10 |
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 | |||
| 40 | OSTREE_INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot', 'ext4.gz.u-boot', 'ext4.gz')}" | 40 | OSTREE_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 |
| 43 | export OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" | 43 | OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" |
| 44 | export OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" | 44 | OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" |
| 45 | export OSTREE_OSNAME ?= "poky" | 45 | OSTREE_OSNAME ?= "poky" |
| 46 | export OSTREE_BOOTLOADER ??= 'u-boot' | 46 | OSTREE_BOOTLOADER ??= 'u-boot' |
| 47 | export OSTREE_BOOT_PARTITION ??= "/boot" | 47 | OSTREE_BOOT_PARTITION ??= "/boot" |
| 48 | 48 | ||
| 49 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" | 49 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" |
| 50 | 50 | ||
