diff options
| author | Ming Liu <liu.ming50@gmail.com> | 2017-11-20 16:45:32 +0800 |
|---|---|---|
| committer | Laurent Bonnans <laurent.bonnans@here.com> | 2018-05-15 10:49:49 +0200 |
| commit | 3af1b32743b245be8c4e199c6a3785bc92e93ab1 (patch) | |
| tree | f1967ddf28ed77ccdb15734b8ff2cc114b5cdabd /recipes-core | |
| parent | b11ddfbc56721ccc2836c6994678acb3e1b5ca74 (diff) | |
| download | meta-updater-3af1b32743b245be8c4e199c6a3785bc92e93ab1.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 | ||
