summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2019-01-03 18:47:57 +0200
committerLeon Anavi <leon.anavi@konsulko.com>2019-01-07 17:47:02 +0200
commit9143a565f9abc125a2137e41183fa5f291a020b8 (patch)
tree2d4daaa52fa1610f84260af2e0238703b2872d43
parent82f13607c1eb9de62576149b3633c59f6e38a1b9 (diff)
downloadmeta-updater-9143a565f9abc125a2137e41183fa5f291a020b8.tar.gz
sota.bbclass: Set fs type
Set fs type depending on the bootloader and the machine to ext4.gz or ext4.gz.u-boot. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
-rw-r--r--classes/sota.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index 070fe72..bd58d3c 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -23,7 +23,7 @@ WKS_FILE_sota ?= "sdimage-sota.wks"
23 23
24EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native" 24EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native"
25 25
26OSTREE_INITRAMFS_FSTYPES ??= 'ext4.gz' 26OSTREE_INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot' and d.getVar('MACHINE', True) != 'qemux86-64', 'ext4.gz.u-boot', 'ext4.gz')}"
27 27
28# Please redefine OSTREE_REPO in order to have a persistent OSTree repo 28# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
29OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" 29OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"