diff options
author | Ming Liu <liu.ming50@gmail.com> | 2019-01-29 21:05:38 +0100 |
---|---|---|
committer | Ming Liu <liu.ming50@gmail.com> | 2019-01-31 16:41:03 +0100 |
commit | 168efb38411ed4feae6d99e4ae00c867ceff3fba (patch) | |
tree | 1a53694f021be1459d1e2818ecee4b56d4d664d0 /classes/sota.bbclass | |
parent | b1db05a11a66ab03714863a940604a7af531e996 (diff) | |
download | meta-updater-168efb38411ed4feae6d99e4ae00c867ceff3fba.tar.gz |
sota.bbclass: fix a variable assignment regression
A regression was introduced by commit 9dcfcdb9:
[ classes, images: Use standard variables for initramfs ]
it replaced OSTREE_INITRAMFS_IMAGE with INITRAMFS_FSTYPES which is
fine, but the '??=' should be changed to "?=" as well, or else it will
not take effect since INITRAMFS_FSTYPES's already set in bitbake.conf
with '?='.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r-- | classes/sota.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index ccc4526..92b4c43 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -21,7 +21,7 @@ WKS_FILE_sota ?= "sdimage-sota.wks" | |||
21 | 21 | ||
22 | EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native" | 22 | EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native" |
23 | 23 | ||
24 | INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER') == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}" | 24 | INITRAMFS_FSTYPES ?= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER') == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}" |
25 | 25 | ||
26 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo | 26 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo |
27 | export OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" | 27 | export OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" |