Cannot find mkfs in file system

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot find mkfs in file system

ソリューションへジャンプ
3,742件の閲覧回数
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,592件の閲覧回数
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,592件の閲覧回数
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,593件の閲覧回数
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,592件の閲覧回数
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,592件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信