[yocto] Dependencies on other file system types for custom file system type

Richard Purdie richard.purdie at linuxfoundation.org
Fri Apr 12 06:40:53 PDT 2019


On Fri, 2019-04-12 at 20:19 +0700, Eric Grunt wrote:
> Dependencies on other file system types for custom file system type
> 
> I'd like to add a custom fs type - a squashfs-xz on an ubi (instead
> of ubifs).
> For this purpose I created a new class, inherited image_types and
> added
> a dependency on squashfs-xz and also on squashfs-tools-native and
> mtd-utils-native:
> 
> inherit image_types
> 
> IMAGE_TYPEDEP_squashfs-xz-ubi = "squashfs-xz"
> 
> do_image_squashfs-xz-ubi[depends] += "mtd-utils-
> native:do_populate_sysroot"
> do_image_squashfs-xz-ubi[depends] += "squashfs-tools-
> native:do_populate_sysroot"
> 
> (full class file is attached to this mail)
> 
> But the dependency handling is not working corrently in my solution:

The dependency code is only triggered if the image type is in
IMAGE_FSTYPES. Did you add it there?

Cheers,

Richard





More information about the yocto mailing list