From 723b79679844b44a28d72a2fa839ac0e86954377 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Sun, 13 Nov 2022 00:16:34 +0100 Subject: [PATCH] debian: Install apparmor profiles --- debian/control | 3 ++- debian/rules | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 9c8c3c4..b071434 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,8 @@ Section: misc Priority: optional Build-Depends: debhelper (>= 10), dh-python, - python3 + python3, + dh-apparmor Standards-Version: 4.5.0.3 Vcs-Browser: https://github.com/waydroid/waydroid Vcs-Git: https://github.com/waydroid/waydroid.git diff --git a/debian/rules b/debian/rules index 84376f3..38ff86b 100755 --- a/debian/rules +++ b/debian/rules @@ -5,3 +5,7 @@ override_dh_auto_install: dh_auto_install -- SYSD_DIR=/lib/systemd/system + $(MAKE) install_apparmor DESTDIR=$(CURDIR)/debian/waydroid + dh_apparmor --profile-name=adbd + dh_apparmor --profile-name=android_app + dh_apparmor --profile-name=lxc\\/lxc-waydroid -- 2.47.3