X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/5f2c391bf1649cb3708ee0c11f678a464de2fb6f..1be55b971dadcf952aeed25d7c84efc2b71d4c85:/Makefile diff --git a/Makefile b/Makefile index a3ec1c8..c70814d 100644 --- a/Makefile +++ b/Makefile @@ -39,8 +39,6 @@ install_apparmor: cp -f data/configs/apparmor_profiles/adbd $(INSTALL_APPARMOR_DIR)/adbd cp -f data/configs/apparmor_profiles/android_app $(INSTALL_APPARMOR_DIR)/android_app cp -f data/configs/apparmor_profiles/lxc-waydroid $(INSTALL_APPARMOR_DIR)/lxc/lxc-waydroid - sed --sandbox -i "/lxc.aa_profile/ s/unconfined/lxc-waydroid/g" $(DESTDIR)$(WAYDROID_DIR)/data/configs/config_1 - sed --sandbox -i "/lxc.apparmor.profile/ s/unconfined/lxc-waydroid/g" $(DESTDIR)$(WAYDROID_DIR)/data/configs/config_2 # Load the profiles if not just packaging if [ -z $(DESTDIR) ] && { aa-enabled --quiet || systemctl is-active -q apparmor; } 2>/dev/null; then \ apparmor_parser -r -T -W "$(INSTALL_APPARMOR_DIR)/adbd"; \