summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2017-11-20 16:45:32 +0800
committerMing Liu <liu.ming50@gmail.com>2017-11-20 16:45:32 +0800
commit3163e1d6baacb9c456a58a547b8136ff1942e803 (patch)
tree76d3972870b95c10980cd843338e4d8077ce0fae /recipes-core
parent66c0d3afa91d2683728065a0b00de43ad25c3d6f (diff)
downloadmeta-updater-3163e1d6baacb9c456a58a547b8136ff1942e803.tar.gz
sota: introduce INITRAMFS_FSTYPES
RAMDISK_EXT and IMAGE_FSTYPES of initramfs-ostree-image should not be defined separately, because they are representing the same fstype of a same initramfs image, or else, they turn out to be inconsistent if the users change one of them. So we use INITRAMFS_FSTYPES already defined in bitbake.conf, to be able to set fstype for initramfs. And it should default to ext4.gz.u-boot or ext4.gz depending on what OSTREE_BOOTLOADER is being set. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/images/initramfs-ostree-image.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-core/images/initramfs-ostree-image.bb b/recipes-core/images/initramfs-ostree-image.bb
index 4ab9da8..e77499e 100644
--- a/recipes-core/images/initramfs-ostree-image.bb
+++ b/recipes-core/images/initramfs-ostree-image.bb
@@ -13,8 +13,7 @@ IMAGE_LINGUAS = ""
13 13
14LICENSE = "MIT" 14LICENSE = "MIT"
15 15
16IMAGE_FSTYPES = "ext4.gz" 16IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
17IMAGE_FSTYPES_append_arm = " ext4.gz.u-boot"
18 17
19inherit core-image 18inherit core-image
20 19