Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update build container images to Ubuntu 24.04 #1442

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

agherzan
Copy link
Owner

@agherzan agherzan commented Apr 1, 2025

This fixes the latest Python version requirement.

@agherzan agherzan self-assigned this Apr 1, 2025
@agherzan agherzan force-pushed the ag/builds branch 2 times, most recently from 49e8fee to 03a9627 Compare April 1, 2025 22:48
This fixes the latest Python version requirement.

Signed-off-by: Andrei Gherzan <[email protected]>
@kraj
Copy link
Collaborator

kraj commented Apr 1, 2025

we might need to tweak the system apparmor policy see

https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056555

here is what worked for me on 24.04

   sudo tee /etc/apparmor.d/bitbake > /dev/null <<'EOF'
   abi <abi/4.0>,
   include <tunables/global>
   profile bitbake /**/bitbake/bin/bitbake flags=(unconfined) {
           userns,
   }
   EOF

then apply it

   # Reload AppArmor Profile
   sudo apparmor_parser -R /etc/apparmor.d/bitbake

Sometimes this may not be enough. Then do below it will compromise apparmor defaults a bit more.

   sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns

@kraj kraj closed this Apr 1, 2025
@kraj kraj reopened this Apr 1, 2025
@agherzan
Copy link
Owner Author

agherzan commented Apr 5, 2025

@kraj It doesn't look like it broke due to AppArmor. What do you think of the logs?

@kraj
Copy link
Collaborator

kraj commented Apr 5, 2025

@kraj It doesn't look like it broke due to AppArmor. What do you think of the logs?

interesting, maybe your install does not enable it, but in anycase if thats not being flagged then I am ok with this patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants