Cannot find mkfs in file system

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot find mkfs in file system

Jump to solution
2,382 Views
yurirellosa
Contributor IV

I am baking core-image-sato and have put into the recipe [DEPENDS += " util-linux parted e2fsprogs dosfstools "]

I bitbake the image and all seems well, but when I try to execute mkfs command, it has a not found error.

Is there a recipe or config I need to access this?

Using Yocto1.7(dizzy branch), imx_3.10.17_1.0.1_ga, SabreSD base board.

Best Regards

Labels (2)
0 Kudos
1 Solution
1,232 Views
jimmychan
NXP TechSupport
NXP TechSupport

please put e2fsprogs in CORE_IMAGE_EXTRA_INSTALL.

Please see the example in Creating a custom distribution image with Yocto for the RiOTboard

--> 10. Add bison, flex, and gnupg packages to image


View solution in original post

0 Kudos
4 Replies
1,232 Views
yurirellosa
Contributor IV

It seems adding to [DEPENDS] will only build the packages but not put it into the final image.

Putting the packages with [IMAGE_INSTALL_append] includes the packages into the image.

I am wondering if this is the normal operation. Hopefully someone can enlighten me.

1,233 Views
jimmychan
NXP TechSupport
NXP TechSupport

please put e2fsprogs in CORE_IMAGE_EXTRA_INSTALL.

Please see the example in Creating a custom distribution image with Yocto for the RiOTboard

--> 10. Add bison, flex, and gnupg packages to image


0 Kudos
1,232 Views
yurirellosa
Contributor IV

Thank you for the response

Does this mean that ALL the recipes where [DEPENDS] was used has to be changed to [CORE_IMAGE_EXTRA_INSTALL]?

Is there no other way to ensure that [DEPENDS] packages will be installed in the image?

Or that is really not what the keyword [DEPENDS] is use for.

0 Kudos
1,232 Views
jimmychan
NXP TechSupport
NXP TechSupport

[DEPENDS] is build time dependencies between .bb files.

0 Kudos