From: Arran Cudbard-Bell Date: Sun, 1 Sep 2024 21:08:19 +0000 (-0600) Subject: Fire insufficient X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca0e768fa31c525d453c4d2284eec817e9066919;p=thirdparty%2Ffreeradius-server.git Fire insufficient --- diff --git a/.github/actions/freeradius-deps/action.yml b/.github/actions/freeradius-deps/action.yml index dde8e524ba..7e724ae1a1 100644 --- a/.github/actions/freeradius-deps/action.yml +++ b/.github/actions/freeradius-deps/action.yml @@ -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 #