> 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
> 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
On Mon, 2019-04-15 at 21:43 +0700, Eric Grunt wrote:
> > 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
> 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
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 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
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
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 () {
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
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
10 matches
Mail list logo