diff options
author | Ming Liu <liu.ming50@gmail.com> | 2017-11-20 16:45:32 +0800 |
---|---|---|
committer | Ming Liu <liu.ming50@gmail.com> | 2017-11-20 16:45:32 +0800 |
commit | 3163e1d6baacb9c456a58a547b8136ff1942e803 (patch) | |
tree | 76d3972870b95c10980cd843338e4d8077ce0fae /recipes-core | |
parent | 66c0d3afa91d2683728065a0b00de43ad25c3d6f (diff) | |
download | meta-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.bb | 3 |
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 | ||
14 | LICENSE = "MIT" | 14 | LICENSE = "MIT" |
15 | 15 | ||
16 | IMAGE_FSTYPES = "ext4.gz" | 16 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" |
17 | IMAGE_FSTYPES_append_arm = " ext4.gz.u-boot" | ||
18 | 17 | ||
19 | inherit core-image | 18 | inherit core-image |
20 | 19 | ||