AppArmor kernel patches for 5.x kernels

you want three additional commits for 5.4 right now:

in the order i posted them …
it might be that one or both of the first ones are not needed with 5.8 anymore … to apply them, put them in a “patches” dir in your source tree and add something like:

    override-pull: |
      snapcraftctl pull
      set -e
      echo "applying required snappy configs"
      git apply -v $SNAPCRAFT_PROJECT_DIR/patches/ubuntu-core-configs.patch

      echo "applying apparmor patches"
      git am $SNAPCRAFT_PROJECT_DIR/patches/apparmor/*
      ...

… to your snapcraft.yaml

4 Likes