diff --git a/.lock b/.lock new file mode 100644 index 0000000..e69de29 diff --git a/src/DEBIAN/control b/src/DEBIAN/control index 538194f..01c15b3 100755 --- a/src/DEBIAN/control +++ b/src/DEBIAN/control @@ -1,6 +1,6 @@ Package: apm Source: amber-ce -Version: 1.0.7 +Version: 1.0.7.1 Architecture: amd64 Maintainer: shenmo Installed-Size: 49036 diff --git a/src/DEBIAN/postinst b/src/DEBIAN/postinst index 2e83b14..a8b2c6a 100755 --- a/src/DEBIAN/postinst +++ b/src/DEBIAN/postinst @@ -10,6 +10,7 @@ systemctl enable gxde-apm-fixer systemctl enable apm-daily-update systemctl start gxde-apm-fixer systemctl start apm-daily-update +systemctl restart apparmor.service || true if [ -f /usr/lib/sysctl.d/apm.conf ];then sysctl -p /usr/lib/sysctl.d/apm.conf diff --git a/src/etc/apparmor.d/apm b/src/etc/apparmor.d/apm new file mode 100644 index 0000000..b0a5354 --- /dev/null +++ b/src/etc/apparmor.d/apm @@ -0,0 +1,9 @@ +abi , +include + +profile bwrap /usr/bin/bwrap flags=(unconfined) { + userns, + + # Site-specific additions and overrides. See local/README for details. + include if exists +} \ No newline at end of file