Skip to content

Commit 622a66e

Browse files
authored
Install brwap-userns-restrict apparmor profile (#326)
1 parent f5373e1 commit 622a66e

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
*~
2+
debian/*debhelper*
3+
debian/elementary-default-settings/
4+
debian/elementary-printer-test-page/
5+
debian/files
6+
debian/*.substvars
7+
debian/tmp

debian/control

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Section: gnome
33
Priority: optional
44
Maintainer: elementary, Inc. <builds@elementary.io>
55
Build-Depends: debhelper (>= 10.5.1),
6+
apparmor-profiles,
67
libaccountsservice-dev,
78
libdbus-1-dev,
89
libpolkit-gobject-1-dev,

debian/postinst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ case "$1" in
88
;;
99
esac
1010

11+
# Fix flatpak updates:
12+
ln -s /usr/share/apparmor/extra-profiles/bwrap-userns-restrict /etc/apparmor.d/ || true
13+
1114
#DEBHELPER#

0 commit comments

Comments
 (0)