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 /classes/image_types_ostree.bbclass | |
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 'classes/image_types_ostree.bbclass')
-rw-r--r-- | classes/image_types_ostree.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index ba09ab7..dc8474c 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -10,8 +10,7 @@ IMAGE_DEPENDS_ostree = "ostree-native:do_populate_sysroot \ | |||
10 | export OSTREE_REPO | 10 | export OSTREE_REPO |
11 | export OSTREE_BRANCHNAME | 11 | export OSTREE_BRANCHNAME |
12 | 12 | ||
13 | RAMDISK_EXT ?= ".ext4.gz" | 13 | RAMDISK_EXT ?= ".${INITRAMFS_FSTYPES}" |
14 | RAMDISK_EXT_arm ?= ".ext4.gz.u-boot" | ||
15 | 14 | ||
16 | OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" | 15 | OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" |
17 | 16 | ||