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-nat
class file:
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"
IMAGE_CMD_squashfs-xz-ubi () {
squashfsubi_mkfs "${M
better formatted class file:
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"
IMAGE_CMD_squashfs-xz-ubi () {
squa
> 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)
--
___
yocto mailing list
yocto@y
> 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.
I tried to basically change all "-" in the fs and variable n
> I think there is some translation code somewhere which probably
> confuses things more as some bits have - and some have _. Does the
> squashfs_xz image type actually work?
There is no squashfs_xz image type.
squashfs-xz (by poky) works,
squashfs_xz_ubi (custom type) also works,
but needs to occ
> squashfs-xz (by poky) works,
> squashfs_xz_ubi (custom type) also works
To clarify, squashfs_xz_ubi was named squashfs-xz-ubi before,
I renamed it in order to try to avoid using "-".
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yocto
Hi,
I tried to upgrade gcc from 7.3 to 8.3 by copying
gcc directory from https://github.com/openembedded/openembedded-core.git
(openembedded-core/meta/recipes-devtools/gcc)
to meta-custom-layer/recipes-gcc,
replacing requires to recipes-devtools/gcc/*inc in all bb files in there,
eg
require recipe