crops / yocto-dockerfiles

This repository is for -base and -builder containers for building derivative containers (such as poky-container) for containerized Yocto Project builds.
GNU General Public License v2.0
145 stars 58 forks source link

build dependencies missing in Ubuntu 18.04 #49

Open danie007 opened 3 years ago

danie007 commented 3 years ago

Hi,

Now I tried core-image-base on Yocto Zeus for an Embedded Linux board and during the build I found that the following packages are missing in the container:

  1. bc
  2. rsync
  3. linux-headers

This has forced me to install them manually as docker exec -u root <container_id> apt install rsync bc linux-headers-$(uname -r) -y. Despite the fact it's one-liner I had to run this command on every docker run (since it's recommended to delete the container on exit).

So it'll be useful if the above mentioned packages are added to default container image and I hope (tested to some extent) that the addition of these packages won't break the existing functionalities.

Thanks, Daniel Selvan D

moto-timo commented 2 years ago

@danie007 what MACHINE and what BSP layer are you using? what specific recipes failed to build without those host components? The Yocto Project built items should be what are used. If these were commonly needed items, they would have been in HOSTTOOLS http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/bitbake.conf?h=zeus#n485

moto-timo commented 2 years ago

Also, Zeus is no longer supported by upstream Yocto Project, so please move to a supported release like dunfell.