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

Ubuntu: add 24.04 #103

Closed moto-timo closed 2 months ago

moto-timo commented 6 months ago

https://releases.ubuntu.com/noble/

                       RELEASED  END OF STANDARD SUPPORT

24.04 LTS (Noble Numbat) Apr 2024 Apr 2034

https://ubuntu.com/about/release-cycle

https://canonical.com/blog/canonical-releases-ubuntu-24-04-noble-numbat

Ecordonnier commented 3 months ago

Is something missing before this can be merged?

moto-timo commented 3 months ago

Is something missing before this can be merged?

It failed to build 2.313 E: Unable to locate package libegl1-mesa

and the Yocto Project AutoBuilder was also having issues with Ubuntu 24.04 (notice there is no 24.04 worker, for good reason). I only have limited time to spend on this, and if it does not pass automation it will not be merged.

Ecordonnier commented 2 months ago

Is something missing before this can be merged?

It failed to build 2.313 E: Unable to locate package libegl1-mesa

and the Yocto Project AutoBuilder was also having issues with Ubuntu 24.04 (notice there is no 24.04 worker, for good reason). I only have limited time to spend on this, and if it does not pass automation it will not be merged.

Thanks, I was not trying to push you, but rather genuinely trying to understand if something was blocking this. I'll have a look at the replacement for libegl1-mesa. I'm building poky with 24.04, and the only fix needed is a change in apparmor. However apparmor is not enabled in the ubuntu 24.04 docker image, so once the issue with libegl1-mesa is fixed everything should work.

Ecordonnier commented 2 months ago

In Ubuntu 22.04, libegl1-mesa was a transitional dummy package whose only dependency was libegl1, thus libegl1 is the correct replacement for libegl1-mesa in Ubuntu 24.04: https://packages.ubuntu.com/jammy/libegl1-mesa

https://packages.ubuntu.com/noble/libegl1

I tested it locally and the image builds after this change (libegl1-mesa -> libegl1).

Ecordonnier commented 2 months ago

Also note that libegl1-mesa was removed completely from the "UBUNTU_HOST_PACKAGES_ESSENTIAL" in yocto documentation, so I think not even libegl1 is needed, and libegl1-mesa can be removed completely (unless you want to support old distros like Dunfell with the Dockerfile): https://git.yoctoproject.org/poky/commit/?id=fd1ea6a600a3b069d6cea4153663ea9720d4eafd

drop mesa/sdl from essential host packages

They used to be required for qemu graphics support, but neither is being for anything anymore.

Ecordonnier commented 2 months ago

@moto-timo Thanks!