summaryrefslogtreecommitdiffstats
path: root/classes/image_types_ostree.bbclass
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 /classes/image_types_ostree.bbclass
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 'classes/image_types_ostree.bbclass')
-rw-r--r--classes/image_types_ostree.bbclass3
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 \
10export OSTREE_REPO 10export OSTREE_REPO
11export OSTREE_BRANCHNAME 11export OSTREE_BRANCHNAME
12 12
13RAMDISK_EXT ?= ".ext4.gz" 13RAMDISK_EXT ?= ".${INITRAMFS_FSTYPES}"
14RAMDISK_EXT_arm ?= ".ext4.gz.u-boot"
15 14
16OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" 15OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}"
17 16