Cannot find mkfs in file system

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Cannot find mkfs in file system

跳至解决方案
3,719 次查看
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

标签 (2)
0 项奖励
回复
1 解答
2,569 次查看
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 项奖励
回复
4 回复数
2,569 次查看
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.

2,570 次查看
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 项奖励
回复
2,569 次查看
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 项奖励
回复
2,569 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复