]> code.ossystems Code Review - openembedded-core.git/commit
image_types: allow the creation of block devices on top of UBI volumes
authorThomas Perrot <thomas.perrot@bootlin.com>
Mon, 18 Oct 2021 23:21:23 +0000 (01:21 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Oct 2021 16:41:46 +0000 (17:41 +0100)
commit6f0c6a0cc9b4685716f0991ce350d046810eb8ec
treef0d4babd44939a5fa70255ae0ee60c5e28975cce
parent840c5b442d4b27a3791ced63565bf757de1d95ca
image_types: allow the creation of block devices on top of UBI volumes

Currently, the function multiubi_mkfs doesn't allow using anything else than
UBIFS over UBI.

Here, we propose to introduce two variables that allow to customize the ubinize
configuration and the image dependency, in order to be able to build UBI
images using the ubiblock abstraction layer and block filesystems.

For example, with this change it is possible to build a UBI volume using a
compressed squashfs, with the following configuration:
UBI_VOLTYPE ?= "static"
UBI_IMGTYPE ?= "squasfs-lz4"

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass