mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-23 21:46:44 +01:00
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:
parent
70aea89ad4
commit
672d0a758b
3 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
1
debian/apparmor.d.displace
vendored
1
debian/apparmor.d.displace
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue