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
147 stars 56 forks source link

Add support for Debian 12 and Fedora 40 #101

Closed robwoolley closed 6 months ago

robwoolley commented 7 months ago

I added support for Debian 12 and Fedora 40.

The major problem for Debian was that it didn't like using pip to install virtualenv instead of using the distro's version. As part of fixing that, I also removed the change that used the Poky host tools to build dumb-init for the distro. All distros now use the provided virtualenv from the distro to create the virtualenv that is used to build dumb-init and run the tests with tox.

The major problem for Fedora was that wget has been replaced with wget2. This re-write currently does not support FTP. This caused the bitbake fetch to fail because we pass --passive-ftp to wget by default. I added the build tools to Fedora 40 so that the wget-native they provide could satisfy the requirement by bitbake.

This should fix #79 and replace #94.

Results for the GitHub Action workflow across all distro images can be found here: https://github.com/robwoolley/yocto-dockerfiles/actions/runs/8493277006

moto-timo commented 6 months ago

Very thorough and following the practices of the completely undocumented design of the project. Thank you.

moto-timo commented 6 months ago

Even though I am a Fedora Packager, I had forgotten that the Fedora 40 release date is not until April 12-15, 2024. However, there is no solid reason for us to not support "soon to be released" distributions, especially since we have historically caught a lot of HOSTTOOLS dependency problems with the crops containers. And we have likely achieved that again.