build: for now lets overwrite abstractions/trash.

As the upstreaming content is a goal, it will be important to have a better
way to manage it.
This commit is contained in:
Alexandre Pujol 2022-09-06 17:56:29 +01:00
parent 70aea89ad4
commit 672d0a758b
Failed to generate hash of commit
3 changed files with 4 additions and 1 deletions

View file

@ -89,6 +89,7 @@ preprocess-archlinux:
- pacman -U --noconfirm --noprogressbar
--overwrite etc/apparmor.d/tunables/global
--overwrite etc/apparmor.d/tunables/xdg-user-dirs
--overwrite etc/apparmor.d/abstractions/trash
$PKGDEST/*
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null

View file

@ -58,7 +58,8 @@ Build and install the package with:
makepkg -s
sudo pacman -U apparmor.d-*.pkg.tar.zst \
--overwrite etc/apparmor.d/tunables/global \
--overwrite etc/apparmor.d/tunables/xdg-user-dirs
--overwrite etc/apparmor.d/tunables/xdg-user-dirs \
--overwrite etc/apparmor.d/abstractions/trash
```
> **Warning**: for a first install, it is recommanded to install all profiles in complain mode. See [Complain mode](#troubleshooting)

View file

@ -3,3 +3,4 @@
/etc/apparmor.d/tunables/global.apparmor.d
/etc/apparmor.d/tunables/xdg-user-dirs.apparmor.d
/etc/apparmor.d/abstractions/trash.apparmor.d