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
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
3 changed files with 4 additions and 1 deletions

View File

@ -89,6 +89,7 @@ preprocess-archlinux:
- pacman -U --noconfirm --noprogressbar - pacman -U --noconfirm --noprogressbar
--overwrite etc/apparmor.d/tunables/global --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
$PKGDEST/* $PKGDEST/*
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null - apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null

View File

@ -58,7 +58,8 @@ Build and install the package with:
makepkg -s makepkg -s
sudo pacman -U apparmor.d-*.pkg.tar.zst \ sudo pacman -U apparmor.d-*.pkg.tar.zst \
--overwrite etc/apparmor.d/tunables/global \ --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) > **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/global.apparmor.d
/etc/apparmor.d/tunables/xdg-user-dirs.apparmor.d /etc/apparmor.d/tunables/xdg-user-dirs.apparmor.d
/etc/apparmor.d/abstractions/trash.apparmor.d