On Fri, Mar 5, 2021 at 11:09 AM Joshua Watt <[email protected]> wrote:
>
> Adds a class to create sparse image files using the Android tools
> ---
> meta-oe/classes/image_types_simg.bbclass | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
> create mode 100644 meta-oe/classes/image_types_simg.bbclass
>
> diff --git a/meta-oe/classes/image_types_simg.bbclass
> b/meta-oe/classes/image_types_simg.bbclass
> new file mode 100644
> index 000000000..a53fafe5e
> --- /dev/null
> +++ b/meta-oe/classes/image_types_simg.bbclass
> @@ -0,0 +1,16 @@
> +inherit image_types
> +
> +CONVERSIONTYPES += "simg"
I wonder if the name could be made sparse-img ?
simg might indicate, signed image too.
> +CONVERSION_CMD_simg() {
> + in="${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}"
> + out="${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.simg"
> + case "${type}" in
> + ext*)
> + ext2simg "$in" "$out"
> + ;;
> + *)
> + img2simg "$in" "$out"
> + ;;
> + esac
> +}
> +CONVERSION_DEPENDS_simg = "android-tools-native"
> --
> 2.30.0
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#89985):
https://lists.openembedded.org/g/openembedded-devel/message/89985
Mute This Topic: https://lists.openembedded.org/mt/81110943/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-