]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
action: Also uninstall apparmor
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Jun 2024 19:26:50 +0000 (21:26 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Jun 2024 19:31:09 +0000 (21:31 +0200)
action.yaml

index a9dd29f6a2d53f374803debac680b94dbe87ced8..abbc6125252f3bf9dc6c77b839ba5fabed20d6c2 100644 (file)
@@ -39,13 +39,14 @@ runs:
         sudo sysctl --ignore --write kernel.apparmor_restrict_unprivileged_userns=0
 
   # Both the unix-chkpwd and swtpm profiles are broken (https://gitlab.com/apparmor/apparmor/-/issues/402) so let's
-  # just disable apparmor completely. It's not relevant in this context anyway.
+  # just disable and remove apparmor completely. It's not relevant in this context anyway.
   # TODO: Remove if https://github.com/actions/runner-images/issues/10015 is ever fixed.
   - name: Disable and mask apparmor service
     shell: bash
     run: |
         sudo systemctl disable --now apparmor
         sudo systemctl mask apparmor
+        sudo apt-get remove apparmor
 
   - name: Dependencies
     shell: bash