File tree Expand file tree Collapse file tree
.github/actions/freeradius-deps Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,15 +32,24 @@ runs:
3232 sudo dpkg-reconfigure man-db
3333 sudo sed -i 's/^update_initramfs=.*/update_initramfs=no/' /etc/initramfs-tools/update-initramfs.conf
3434
35- # Basic package installation on Ubuntu24.04of packages fails with:
35+ #
36+ # Basic package installation on Ubuntu24.04 fails with:
3637 # ERROR: Operation {'runbindable'} cannot have a source. Source = AARE('/')
3738 # ...unless apparmor is disabled.
39+ #
40+ # Even with apparmor disabled and purged, some packages still attempt to call
41+ # apparmor utilities.
42+ #
43+ # Here we alias the apparmor utilities to /bin/true to prevent the build from
44+ # failing.
45+ #
3846 - name : Disable AppArmor
3947 if : ${{ runner.os != 'macOS' }}
4048 run : |
4149 sudo systemctl disable apparmor || true
4250 sudo systemctl stop apparmor || true
43- sudo apt purge apparmor || true
51+ sudo apt purge -y apparmor
52+ sudo update-alternatives --install /usr/bin/aa-complain aa-complain /bin/true 60
4453 shell : bash
4554
4655 #
You can’t perform that action at this time.
0 commit comments