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

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Fri Apr 12 07:17:49 PDT 2019


On Fri, 2019-04-12 at 20:50 +0700, Eric Grunt wrote:
> > The dependency code is only triggered if the image type is in
> > IMAGE_FSTYPES. Did you add it there?
> 
> Yes, in the distro conf file.
> Guess, otherwise it wouldn't be built at all (since it isn't
> dependency of another fs)

Notice how the function names for squashfs are:

do_image_squashfs_xz

not

do_image_squashfs-xz

This is because shell functions/variables can't have "-" in their name.
You need to change to us IMAGE_CMD_squashfs_xz_ubi.

Cheers,

Richard





More information about the yocto mailing list