mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +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
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
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/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
|
||||||
|
Loading…
Reference in New Issue
Block a user