Skip to content

Commit ea141aa

Browse files
committed
Workaround for Bitbake on Ubuntu 24 AppArmor
1 parent 548ae3d commit ea141aa

File tree

6 files changed

+22
-1
lines changed

6 files changed

+22
-1
lines changed

.github/workflows/build-container-images-qemux86-64.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
path: build/cache
5555
key: bb-cache-local
5656

57+
# See https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056555
58+
- name: Apply fix for Bitbake on Ubuntu 24
59+
run: sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
60+
5761
- name: Build container images for Raspberry Pi 4
5862
run: kas build kas/.config-kirkstone-rpi4.yaml --target sdv-container-images
5963

.github/workflows/build-container-images-raspberrypi4-64.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
path: build/cache
5555
key: bb-cache-local
5656

57+
# See https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056555
58+
- name: Apply fix for Bitbake on Ubuntu 24
59+
run: sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
60+
5761
- name: Build container images for QEMU x86-64
5862
run: kas build kas/.config-kirkstone.yaml --target sdv-container-images
5963

.github/workflows/dryrun.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
with:
4848
path: build/cache
4949
key: bb-cache-local
50+
# See https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056555
51+
- name: Apply fix for Bitbake on Ubuntu 24
52+
run: sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
5053
- name: DryRun default (qemux86_64)
5154
run: kas build -- --dry-run
5255
- name: DryRun Raspberry Pi 4

.github/workflows/leda-utils.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,8 @@ jobs:
2929
run: sudo apt-get install -y --no-install-recommends socat file gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libsdl1.2-dev pylint xterm python3-subunit mesa-common-dev zstd liblz4-tool tmux mc skopeo fdisk ruby-full jq libvirt-clients libvirt-daemon-system qemu-system-x86 qemu-system-arm qemu-kvm squashfs-tools rauc python3-newt ca-certificates curl gnupg lsb-release
3030
- name: Install kas
3131
run: sudo pip3 install kas
32+
# See https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056555
33+
- name: Apply fix for Bitbake on Ubuntu 24
34+
run: sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
3235
- name: Build leda-utils
3336
run: kas build kas/.config-kirkstone.yaml --target leda-utils

.github/workflows/poky-sdv-core.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ jobs:
1818
- name: Install tools
1919
run: |
2020
sudo apt-get update
21-
sudo apt-get install -y --no-install-recommends socat file gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libsdl1.2-dev pylint xterm python3-subunit mesa-common-dev zstd liblz4-tool tmux mc skopeo fdisk ruby-full jq libvirt-clients libvirt-daemon-system qemu-system-x86 qemu-system-arm qemu-kvm squashfs-tools rauc python3-newt ca-certificates curl gnupg lsb-release
21+
sudo apt-get install -y --no-install-recommends socat file gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint xterm python3-subunit mesa-common-dev zstd liblz4-tool tmux mc skopeo fdisk ruby-full jq libvirt-clients libvirt-daemon-system qemu-system-x86 qemu-system-arm qemu-kvm squashfs-tools rauc python3-newt ca-certificates curl gnupg lsb-release
2222
2323
- name: Install kas
2424
run: sudo pip3 install kas
2525

26+
# See https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056555
27+
- name: Apply fix for Bitbake on Ubuntu 24
28+
run: sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
29+
2630
- name: Build poky-core-image-minimal + sdv-core
2731
env:
2832
KAS_MACHINE: qemux86-64

.github/workflows/sdv-core-components.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,8 @@ jobs:
2929
run: sudo apt-get install -y --no-install-recommends socat file gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libsdl1.2-dev pylint xterm python3-subunit mesa-common-dev zstd liblz4-tool python3-newt ca-certificates curl gnupg lsb-release
3030
- name: Install kas
3131
run: sudo pip3 install kas
32+
# See https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056555
33+
- name: Apply fix for Bitbake on Ubuntu 24
34+
run: sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
3235
- name: Build SDV core components only (poky distro)
3336
run: kas build kas/.config-components.yaml

0 commit comments

Comments
 (0)