0

I am using bitbake to build a recipe.

One recipe shows it needs df.

I checked

build/tmp/hosttools

df is not there, but I can manually copy df from /bin/df

How to config yocto to let it include df tool?

GreenTea
  • 769
  • 1
  • 10
  • 36

1 Answers1

1

Copying a binary manually may not work. You need to include df to HOSTTOOLS in bitbake.conf

For example: oe-core/meta/conf/bitbake.conf under the topic Build utility info.

HOSTTOOLS += " [ ar as awk basename bash bzip2 cat chgrp chmod chown date df du echo

do it like this. It will work.

Mohammed Harris
  • 326
  • 6
  • 25