Skip to content

Commit

Permalink
Fire insufficient
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Sep 1, 2024
1 parent 43bcf87 commit ca0e768
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/actions/freeradius-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,24 @@ runs:
sudo dpkg-reconfigure man-db
sudo sed -i 's/^update_initramfs=.*/update_initramfs=no/' /etc/initramfs-tools/update-initramfs.conf
# Basic package installation on Ubuntu24.04of packages fails with:
#
# Basic package installation on Ubuntu24.04 fails with:
# ERROR: Operation {'runbindable'} cannot have a source. Source = AARE('/')
# ...unless apparmor is disabled.
#
# Even with apparmor disabled and purged, some packages still attempt to call
# apparmor utilities.
#
# Here we alias the apparmor utilities to /bin/true to prevent the build from
# failing.
#
- name: Disable AppArmor
if: ${{ runner.os != 'macOS' }}
run: |
sudo systemctl disable apparmor || true
sudo systemctl stop apparmor || true
sudo apt purge apparmor || true
sudo apt purge -y apparmor
sudo update-alternatives --install /usr/bin/aa-complain aa-complain /bin/true 60
shell: bash

#
Expand Down

0 comments on commit ca0e768

Please sign in to comment.