scripts: don't setup a dedicated AppArmor profile anymore

This commit is contained in:
Simon Fels 2018-07-19 22:20:09 -04:00
commit 60e7dc79c8

View file

@ -53,11 +53,6 @@ start() {
# lib directory as explicit search target here.
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/usr/lib/$ARCH"
if [ -d /sys/kernel/security/apparmor ] ; then
# Load the profile for our Android container
"$SNAP"/sbin/apparmor_parser -r "$SNAP"/apparmor/anbox-container.aa
fi
enable_debug="$(snapctl get debug.enable)"
if [ "$enable_debug" = true ]; then
export ANBOX_LOG_LEVEL=debug